renovate[bot] d74ca67d07 fix(deps): update opentelemetry-go monorepo (#29334) | 1 year ago | |
---|---|---|
.. | ||
prom-counter | 1 year ago | |
README.md | 4 years ago | |
docker-compose.yml | 3 years ago | |
otel-collector-config.yml | 1 year ago | |
prometheus.yml | 4 years ago |
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.