digdir / dialogporten

Dialogporten - common API and and metadata state store for digital dialogs
https://docs.altinn.studio/dialogporten
MIT License
1 stars 3 forks source link

Add the OT agent to our container app environment #1463

Open arealmaas opened 1 week ago

arealmaas commented 1 week ago

Add the OT agent in our container app environment. The following'ish configuration:


{
  "properties": {
    "appInsightsConfiguration": {
        "connectionString": "<YOUR_APP_INSIGHTS_CONNECTION_STRING>"
    },
    "openTelemetryConfiguration": {
      "destinationsConfiguration":{
        "otlpConfigurations": [
          {
            "name": "azure-monitor-workspace",
            "endpoint": "<endpoint-to-azure-monitor-workspace>",
            "insecure": false,
            "headers": "api-key-1=key"
          }
        ]
      },
      "logsConfiguration": { 
        "destinations": ["appInsights"]
      },
      "tracesConfiguration":{
        "destinations": ["appInsights"]
      },
      "metricsConfiguration": {
        "destinations": ["azure-monitor-workspace"]
      }
    }
  }
}

This ensures that:

https://learn.microsoft.com/en-us/azure/container-apps/opentelemetry-agents?tabs=arm