Skip to content

Prometheus

This guide configures Prometheus to stream metrics to Layer 9’s hosted collector via the Prometheus Remote Write protocol.

  • A running Prometheus server
    • Access to its config file (prometheus.yml)
    • Ability to reload Prometheus after config changes
  • Outbound internet access to the remote-write URL
    • Firewall allows egress to 443
    • Router/NAT supports outgoing HTTPS
    • Note: Public IP whitelisting available upon request

Contact the Layer Nine team to obtain your organization-specific connection details:

  • Remote write URL
  • Secret Key

Update your Prometheus configuration to include the “remote_write” section.

remote_write:
- url: <REMOTE WRITE URL>
headers:
X-Layer9-Secret: <SECRET KEY>

For the full list of configurations, visit the official documentation.