mirror of https://github.com/dapr/docs.git
change application insights example from insights key to connection string (#4598)
Signed-off-by: fabistb <fabian0401@online.de> Co-authored-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
5435bd43a4
commit
4341935c3a
|
@ -11,7 +11,7 @@ Dapr integrates with [OpenTelemetry (OTEL) Collector](https://github.com/open-te
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- [Install Dapr on Kubernetes]({{< ref kubernetes >}})
|
- [Install Dapr on Kubernetes]({{< ref kubernetes >}})
|
||||||
- [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.
|
- [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.
|
||||||
|
|
||||||
## Set up OTEL Collector to push to your App Insights instance
|
## Set up OTEL Collector to push to your App Insights instance
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ To push events to your App Insights instance, install the OTEL Collector to your
|
||||||
|
|
||||||
1. Check out the [`open-telemetry-collector-appinsights.yaml`](/docs/open-telemetry-collector/open-telemetry-collector-appinsights.yaml) file.
|
1. Check out the [`open-telemetry-collector-appinsights.yaml`](/docs/open-telemetry-collector/open-telemetry-collector-appinsights.yaml) file.
|
||||||
|
|
||||||
1. Replace the `<INSTRUMENTATION-KEY>` placeholder with your App Insights instrumentation key.
|
1. Replace the `<CONNECTION_STRING>` placeholder with your App Insights connection string.
|
||||||
|
|
||||||
1. Apply the configuration with:
|
1. Apply the configuration with:
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,7 @@ data:
|
||||||
debug:
|
debug:
|
||||||
verbosity: basic
|
verbosity: basic
|
||||||
azuremonitor:
|
azuremonitor:
|
||||||
endpoint: "https://dc.services.visualstudio.com/v2/track"
|
connection_string: "<CONNECTION_STRING>"
|
||||||
instrumentation_key: "<INSTRUMENTATION-KEY>"
|
|
||||||
# maxbatchsize is the maximum number of items that can be
|
# maxbatchsize is the maximum number of items that can be
|
||||||
# queued before calling to the configured endpoint
|
# queued before calling to the configured endpoint
|
||||||
maxbatchsize: 100
|
maxbatchsize: 100
|
||||||
|
|
Loading…
Reference in New Issue