config.yaml 619 B

12345678910111213141516171819202122232425
  1. receivers:
  2. prometheus:
  3. config:
  4. scrape_configs:
  5. - job_name: 'otel-collector'
  6. scrape_interval: 10s
  7. static_configs:
  8. - targets: ['localhost:8890']
  9. - targets: ['localhost:8889']
  10. - targets: ['localhost:8888']
  11. exporters:
  12. signalfx:
  13. # Access token to send data to SignalFx.
  14. access_token: <replace_with_actual_access_token>
  15. # SignalFx realm where the data will be received.
  16. realm: us1
  17. # Timeout for the send operations.
  18. timeout: 5s
  19. service:
  20. pipelines:
  21. metrics:
  22. receivers: [prometheus]
  23. exporters: [signalfx]