SigNoz / signoz-web

SigNoz Website
https://signoz.io
Other
5 stars 26 forks source link

Docs for Azure App service #77

Closed Calm-Rock closed 2 weeks ago

Calm-Rock commented 8 months ago

Create docs for Azure App service

pranay01 commented 8 months ago

To send the logs from the Azure app service to SigNoz we first need to stream the logs from app service to Azure Event Hub and then forward the logs to an external system https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/stream-monitoring-data-event-hubs. Once they reach the event hub you can then configure the collector to receive data from the event hub using the otel collector azureeventhubreceiver and configure the otlp exporter to send data to SigNoz. Here is example configuration.

extensions:
  health_check:
receivers:
  azureeventhub:
    connection: <your-connection-string>
    partition: <your-partition-id>
    group: <your-consumer-group>
    format: "azure"
  otlp:
    protocols:
      grpc:
        endpoint: [0.0.0.0:4317](http://0.0.0.0:4317/)
      http:
        endpoint: [0.0.0.0:4318](http://0.0.0.0:4318/)
processors:
  batch:
    timeout: 10s
exporters:
  otlp:
    endpoint: [https://ingest.eu.signoz.cloud:443](https://ingest.eu.signoz.cloud/)
    tls:
      insecure: false
    headers:
      signoz-access-token: <your-ingest-token-here>
service:
  pipelines:
    logs:
      receivers: [otlp, azureeventhub]
      processors: [batch]
      exporters: [otlp]
  extensions: [health_check]
Calm-Rock commented 2 weeks ago

We have the docs now - https://signoz.io/docs/azure-monitoring/app-service/