From e04cfaa78b53680070fd68289459b4c0948371f1 Mon Sep 17 00:00:00 2001 From: fabistb Date: Mon, 24 Mar 2025 20:19:33 +0100 Subject: [PATCH] change application insights example from insights key to connection string Signed-off-by: fabistb --- .../otel-collector/open-telemetry-collector-appinsights.md | 4 ++-- .../open-telemetry-collector-appinsights.yaml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/daprdocs/content/en/operations/observability/tracing/otel-collector/open-telemetry-collector-appinsights.md b/daprdocs/content/en/operations/observability/tracing/otel-collector/open-telemetry-collector-appinsights.md index c851ec8a495..fc104263bbd 100644 --- a/daprdocs/content/en/operations/observability/tracing/otel-collector/open-telemetry-collector-appinsights.md +++ b/daprdocs/content/en/operations/observability/tracing/otel-collector/open-telemetry-collector-appinsights.md @@ -11,7 +11,7 @@ Dapr integrates with [OpenTelemetry (OTEL) Collector](https://github.com/open-te ## Prerequisites - [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 @@ -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. Replace the `` placeholder with your App Insights instrumentation key. +1. Replace the `` placeholder with your App Insights connection string. 1. Apply the configuration with: diff --git a/daprdocs/static/docs/open-telemetry-collector/open-telemetry-collector-appinsights.yaml b/daprdocs/static/docs/open-telemetry-collector/open-telemetry-collector-appinsights.yaml index 3b26889539d..797b62829d7 100644 --- a/daprdocs/static/docs/open-telemetry-collector/open-telemetry-collector-appinsights.yaml +++ b/daprdocs/static/docs/open-telemetry-collector/open-telemetry-collector-appinsights.yaml @@ -20,8 +20,7 @@ data: debug: verbosity: basic azuremonitor: - endpoint: "https://dc.services.visualstudio.com/v2/track" - instrumentation_key: "" + connection_string: "" # maxbatchsize is the maximum number of items that can be # queued before calling to the configured endpoint maxbatchsize: 100