Skip to content

Commit 4341935

Browse files
fabistbWhitWaldomsfussell
authored
change application insights example from insights key to connection string (#4598)
Signed-off-by: fabistb <[email protected]> Co-authored-by: Whit Waldo <[email protected]> Co-authored-by: Mark Fussell <[email protected]>
1 parent 5435bd4 commit 4341935

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

daprdocs/content/en/operations/observability/tracing/otel-collector/open-telemetry-collector-appinsights.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Dapr integrates with [OpenTelemetry (OTEL) Collector](https://github.com/open-te
1111
## Prerequisites
1212

1313
- [Install Dapr on Kubernetes]({{< ref kubernetes >}})
14-
- [Set up an App Insights resource](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource) and make note of your App Insights instrumentation key.
14+
- [Set up an App Insights resource](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource) and make note of your App Insights connection string.
1515

1616
## Set up OTEL Collector to push to your App Insights instance
1717

1818
To push events to your App Insights instance, install the OTEL Collector to your Kubernetes cluster.
1919

2020
1. Check out the [`open-telemetry-collector-appinsights.yaml`](/docs/open-telemetry-collector/open-telemetry-collector-appinsights.yaml) file.
2121

22-
1. Replace the `<INSTRUMENTATION-KEY>` placeholder with your App Insights instrumentation key.
22+
1. Replace the `<CONNECTION_STRING>` placeholder with your App Insights connection string.
2323

2424
1. Apply the configuration with:
2525

daprdocs/static/docs/open-telemetry-collector/open-telemetry-collector-appinsights.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ data:
2020
debug:
2121
verbosity: basic
2222
azuremonitor:
23-
endpoint: "https://dc.services.visualstudio.com/v2/track"
24-
instrumentation_key: "<INSTRUMENTATION-KEY>"
23+
connection_string: "<CONNECTION_STRING>"
2524
# maxbatchsize is the maximum number of items that can be
2625
# queued before calling to the configured endpoint
2726
maxbatchsize: 100

0 commit comments

Comments
 (0)