Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [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 an App Insights resource](https://learn.microsoft.com/en-us/azure/azure-monitor/app/create-workspace-resource) and make note of your [App Insights connection string.](https://learn.microsoft.com/en-us/azure/azure-monitor/app/connection-strings?tabs=net)


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

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

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Replace the `<CONNECTION_STRING>` placeholder with your App Insights connection string.
1. Replace the `<CONNECTION_STRING>` placeholder with your App Insights connection string. For additional details on the Azure Monitor Exporter, see the [Readme](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/azuremonitorexporter/README.md)


1. Apply the configuration with:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ data:
debug:
verbosity: basic
azuremonitor:
endpoint: "https://dc.services.visualstudio.com/v2/track"
instrumentation_key: "<INSTRUMENTATION-KEY>"
connection_string: "<CONNECTION_STRING>"
# maxbatchsize is the maximum number of items that can be
# queued before calling to the configured endpoint
maxbatchsize: 100
Expand Down
Loading