Skip to content

Observability

P2G supports publishing Open Telemetry metrics. These metrics can be setup and configured in the Observability config section. P2G publishes the following:

  1. Logs via Serilog. Logs can be sunk to a variety of sources including Console, File, ElasticSearch, and Grafana Loki.
  2. Metrics via Prometheus. Metrics are exposed on a standard /metrics endpoint and the port is configurable.
  3. Traces via Jaeger. Traces can be collected via an agent of your choice. Some options include Jaeger Agent/Jaeger Query, or Grafana Tempo.
  4. P2G also provides a sample Grafana dashboard which can be found in the repository.

The grafana dashboard assumes you have the following datasources setup but can be easily modified to meet your needs:

  1. Prometheus
  2. Loki
  3. If running as a docker image a docker metrics exporter

Grafana Dashboard