Skip to content

Latest commit

 

History

History
 
 

prometheus-federation

Prometheus Federation Endpoint Example

This example showcases how the agent works with Splunk Enterprise and an existing Prometheus deployment.

The example runs as a Docker Compose deployment. The collector can be configured to send various metrics to Splunk Enterprise.

Splunk is configured to receive data from the OpenTelemetry Collector using the HTTP Event collector. To learn more about HEC, visit our guide.

To deploy the example, check out this git repository, open a terminal and in this directory type:

$> docker-compose up --build

Splunk will become available on port 18000. You can login on http://localhost:18000 with admin and changeme.

Once logged in, visit the analytics workspace to see which metrics are sent by the OpenTelemetry Collector.

Additionally, you can consult the Prometheus UI to see the metric data collected from the sample go program.

Diagram of the deployment

Diagram