From 8d1f78044ca6eb9995001d3ab83be62460e043a6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Feb 2023 13:53:54 +0100 Subject: Add ability to disable http duration OTEL metrics --- config/default.yaml | 4 ++++ config/production.yaml.example | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 7ce345e2d..db014cc87 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -222,6 +222,10 @@ open_telemetry: metrics: enabled: false + http_request_duration: + # You can disable HTTP request duration metric that can have a high tag cardinality + enabled: true + # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics prometheus_exporter: hostname: '127.0.0.1' diff --git a/config/production.yaml.example b/config/production.yaml.example index 877d77e01..a169c6c0e 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -220,6 +220,10 @@ open_telemetry: metrics: enabled: false + http_request_duration: + # You can disable HTTP request duration metric that can have a high tag cardinality + enabled: true + # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics prometheus_exporter: hostname: '127.0.0.1' -- cgit v1.2.3