aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-27 13:53:54 +0100
committerChocobozzz <me@florianbigard.com>2023-02-27 13:53:54 +0100
commit8d1f78044ca6eb9995001d3ab83be62460e043a6 (patch)
tree5b0cf63de96fdc67ef7aaa10af4969d9578406f0 /config
parent5b94394a1a6d471f897d14ac62fe7bec5f9a74c2 (diff)
downloadPeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.tar.gz
PeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.tar.zst
PeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.zip
Add ability to disable http duration OTEL metrics
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml4
-rw-r--r--config/production.yaml.example4
2 files changed, 8 insertions, 0 deletions
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:
222 metrics: 222 metrics:
223 enabled: false 223 enabled: false
224 224
225 http_request_duration:
226 # You can disable HTTP request duration metric that can have a high tag cardinality
227 enabled: true
228
225 # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics 229 # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics
226 prometheus_exporter: 230 prometheus_exporter:
227 hostname: '127.0.0.1' 231 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:
220 metrics: 220 metrics:
221 enabled: false 221 enabled: false
222 222
223 http_request_duration:
224 # You can disable HTTP request duration metric that can have a high tag cardinality
225 enabled: true
226
223 # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics 227 # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics
224 prometheus_exporter: 228 prometheus_exporter:
225 hostname: '127.0.0.1' 229 hostname: '127.0.0.1'