renovate[bot] d74ca67d07 fix(deps): update opentelemetry-go monorepo (#29334) 1 year ago
..
prom-counter d74ca67d07 fix(deps): update opentelemetry-go monorepo (#29334) 1 year ago
README.md 58fba1f608 Prometheus federation example (#2007) 4 years ago
docker-compose.yml 12181e1d70 Remove usage of deprecated log-level flag (#5379) 3 years ago
otel-collector-config.yml 4982f49841 [chore] update examples to use debugexporter (#26715) 1 year ago
prometheus.yml 58fba1f608 Prometheus federation example (#2007) 4 years ago

README.md

Prometheus Federation Endpoint Example

This example showcases how the agent can connect to an existing Prometheus deployment.

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

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

$> docker-compose up --build

Once active, metrics will be scraped and sent to the standard output of the OpenTelemetry Collector.

You can review them with the following command:

docker logs otelcollector

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