From 630d0a1bf5897fff203cb07e426223f55dcc882d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 5 Jul 2022 15:43:21 +0200 Subject: Introduce experimental telemetry --- config/default.yaml | 16 ++++++++++++++++ config/production.yaml.example | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 8e5d13355..8458ee016 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -177,6 +177,22 @@ log: log_tracker_unknown_infohash: true prettify_sql: false +# Highly experimental support of Open Telemetry +open_telemetry: + metrics: + enabled: false + + # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics + prometheus_exporter: + port: 9091 + + tracing: + enabled: false + + # Send traces to a Jaeger compatible endpoint + jaeger_exporter: + endpoint: '' + trending: videos: interval_days: 7 # Compute trending videos for the last x days diff --git a/config/production.yaml.example b/config/production.yaml.example index ef0358221..3da2421fe 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -175,6 +175,22 @@ log: log_tracker_unknown_infohash: true prettify_sql: false +# Highly experimental support of Open Telemetry +open_telemetry: + metrics: + enabled: false + + # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics + prometheus_exporter: + port: 9091 + + tracing: + enabled: false + + # Send traces to a Jaeger compatible endpoint + jaeger_exporter: + endpoint: '' + trending: videos: interval_days: 7 # Compute trending videos for the last x days -- cgit v1.2.3