Skip to content

Commit

Permalink
fix(docs): fix small details on docs to make Dynatrace example work c…
Browse files Browse the repository at this point in the history
…orrectly (#3008)

* chore(fix): add generated types to consider Dynatrace on FE

* Update OpenAPI code generation

* Updating docs
  • Loading branch information
danielbdias committed Jul 31, 2023
1 parent c8869bc commit 3ffa636
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/tracetest-dynatrace/tracetest/collector.config.yaml
Expand Up @@ -21,7 +21,7 @@ exporters:
tls:
insecure: true
# OTLP for Dynatrace
otlp/dynatrace:
otlphttp/dynatrace:
endpoint: https://abc12345.live.dynatrace.com/api/v2/otlp
headers:
Authorization: "Api-Token dt0c01.sample.secret" # Requires "openTelemetryTrace.ingest" permission
Expand All @@ -31,4 +31,4 @@ service:
traces:
receivers: [otlp]
processors: [probabilistic_sampler, batch]
exporters: [otlp/dynatrace,otlp/tracetest]
exporters: [otlphttp/dynatrace, otlp/tracetest]
4 changes: 2 additions & 2 deletions web/src/constants/CollectorConfig.constants.ts
Expand Up @@ -254,7 +254,7 @@ exporters:
tls:
insecure: true
# OTLP for Dynatrace
otlp/dynatrace:
otlphttp/dynatrace:
endpoint: https://abc12345.live.dynatrace.com/api/v2/otlp # Send traces to Dynatrace. Read more in docs here: https://www.dynatrace.com/support/help/extend-dynatrace/opentelemetry/collector#configuration
headers:
Authorization: "Api-Token dt0c01.sample.secret" # Requires "openTelemetryTrace.ingest" permission
Expand All @@ -268,7 +268,7 @@ service:
traces/dynatrace:
receivers: [otlp]
processors: [batch]
exporters: [logging, otlp/dynatrace]
exporters: [logging, otlphttp/dynatrace]
`;

export const CollectorConfigMap = {
Expand Down

0 comments on commit 3ffa636

Please sign in to comment.