Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for Azure App service #1509

Open
Calm-Rock opened this issue Feb 6, 2024 · 1 comment
Open

Docs for Azure App service #1509

Calm-Rock opened this issue Feb 6, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Calm-Rock
Copy link
Member

Create docs for Azure App service

@Calm-Rock Calm-Rock added the documentation Improvements or additions to documentation label Feb 6, 2024
@pranay01
Copy link
Contributor

pranay01 commented Feb 6, 2024

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants