Skip to content

Commit 3ffa636

Browse files
authored
fix(docs): fix small details on docs to make Dynatrace example work correctly (#3008)
* chore(fix): add generated types to consider Dynatrace on FE * Update OpenAPI code generation * Updating docs
1 parent c8869bc commit 3ffa636

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/tracetest-dynatrace/tracetest/collector.config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exporters:
2121
tls:
2222
insecure: true
2323
# OTLP for Dynatrace
24-
otlp/dynatrace:
24+
otlphttp/dynatrace:
2525
endpoint: https://abc12345.live.dynatrace.com/api/v2/otlp
2626
headers:
2727
Authorization: "Api-Token dt0c01.sample.secret" # Requires "openTelemetryTrace.ingest" permission
@@ -31,4 +31,4 @@ service:
3131
traces:
3232
receivers: [otlp]
3333
processors: [probabilistic_sampler, batch]
34-
exporters: [otlp/dynatrace,otlp/tracetest]
34+
exporters: [otlphttp/dynatrace, otlp/tracetest]

web/src/constants/CollectorConfig.constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ exporters:
254254
tls:
255255
insecure: true
256256
# OTLP for Dynatrace
257-
otlp/dynatrace:
257+
otlphttp/dynatrace:
258258
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
259259
headers:
260260
Authorization: "Api-Token dt0c01.sample.secret" # Requires "openTelemetryTrace.ingest" permission
@@ -268,7 +268,7 @@ service:
268268
traces/dynatrace:
269269
receivers: [otlp]
270270
processors: [batch]
271-
exporters: [logging, otlp/dynatrace]
271+
exporters: [logging, otlphttp/dynatrace]
272272
`;
273273

274274
export const CollectorConfigMap = {

0 commit comments

Comments
 (0)