Skip to content

Commit

Permalink
Updating the documentation of v04 proto file (#21036)
Browse files Browse the repository at this point in the history
* Updating the documentation of v04 proto file

The comments for v04 reference the location of the request payload proto file, which was recently(ish) moved from `pkg/trace/pb/span.proto` to `pkg/proto/datadog/trace/span.proto` (see: https://github.com/DataDog/datadog-agent/pull/10650/files#diff-235ec354aa017d69a8115cfc766bfb04271bff2a707e5c6a1c99095e43423207).

This pr corrects the documents so that they point to new location of the proto file.

* Updating v07 payload references as well.
  • Loading branch information
fpddog authored Nov 22, 2023
1 parent 9fac6f8 commit 33631bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/trace/api/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
//
// Request: Trace chunks.
// Content-Type: application/msgpack
// Payload: An array of arrays of Span (pkg/trace/pb/span.proto)
// Payload: An array of arrays of Span (pkg/proto/datadog/trace/span.proto)
//
// Response: Service sampling rates.
// Content-Type: application/json
Expand Down Expand Up @@ -113,7 +113,7 @@ const (
//
// Request: Tracer Payload.
// Content-Type: application/msgpack
// Payload: TracerPayload (pkg/trace/pb/tracer_payload.proto)
// Payload: TracerPayload (pkg/proto/datadog/trace/tracer_payload.proto)
//
// Response: Service sampling rates (see description in v04).
//
Expand Down

0 comments on commit 33631bd

Please sign in to comment.