Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tracemode): Tracemode v1 #4030

Merged
merged 5 commits into from
Sep 30, 2024
Merged

feat(tracemode): Tracemode v1 #4030

merged 5 commits into from
Sep 30, 2024

Conversation

xoscar
Copy link
Collaborator

@xoscar xoscar commented Sep 26, 2024

This PR updates the agent to support sending traces to the control-planes cloud ingestion method

Changes

  • Adds trace mode worker
  • Adds Export function for proto
  • Adds logic to send traces to new gpc method

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Copy link

vercel bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tracetest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 30, 2024 2:52pm

cli/config/config.go Outdated Show resolved Hide resolved
@@ -136,6 +152,21 @@ func (i *forwardIngester) cacheTestSpans(resourceSpans []*v1.ResourceSpans) {
for _, resourceSpan := range resourceSpans {
for _, scopedSpan := range resourceSpan.ScopeSpans {
for _, span := range scopedSpan.Spans {
if scopedSpan.Scope != nil {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds some of the missing stuff

@xoscar xoscar self-assigned this Sep 30, 2024
@xoscar xoscar marked this pull request as ready for review September 30, 2024 15:28
@xoscar xoscar merged commit bf6f525 into main Sep 30, 2024
40 checks passed
@xoscar xoscar deleted the feat-trace-mode branch September 30, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants