Hi, SigNoz Team! We already have Prometheus set up in place to collect application metrics which sto...
r
Hi, SigNoz Team! We already have Prometheus set up in place to collect application metrics which stores data in the Prometheus backend locally and Grafana to visualize. Recently we thought to add support for OpenTelemetry collector without disturbing the existing Prometheus setup. So we've integrated OTEL collector will listen to the metrics endpoint and then we can export it to our desired remote backend. Here's the OTEL collector configuration:
Copy code
receivers:
  prometheus:
    config:
      scrape_configs:
      - job_name: 'otelcol'
        scrape_interval: 5s
        static_configs:
        - targets: ['0.0.0.0:8888']
      - job_name: 'node'
        scrape_interval: 5s
        static_configs:
        - targets: ['localhost:9100']
      - job_name: 'l3af'
        scrape_interval: 5s
        static_configs:
        - targets: ['localhost:8898']

processors:
  batch:

exporters:
  prometheusremotewrite:
    endpoint: # Update the endpoint field with your desired remote backend

service:
  pipelines:
    metrics:
      receivers: [prometheus]
      processors: [batch]
      exporters: [prometheusremotewrite]
We would like to test the setup with SigNoz locally. Is that possible? Also, we're running the application inside a VM.