aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/production.yaml.example
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/production.yaml.example
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/production.yaml.example')
-rw-r--r--config/production.yaml.example4
1 files changed, 4 insertions, 0 deletions
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'