diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-05 15:43:21 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-06 15:13:55 +0200 |
commit | 630d0a1bf5897fff203cb07e426223f55dcc882d (patch) | |
tree | 5e6fa9d26f3f21178a538bd1ac38fa0a3f4f228c /config | |
parent | 15b43b214eb37b05aa65aa8ef61fd0e6aa0b62d2 (diff) | |
download | PeerTube-630d0a1bf5897fff203cb07e426223f55dcc882d.tar.gz PeerTube-630d0a1bf5897fff203cb07e426223f55dcc882d.tar.zst PeerTube-630d0a1bf5897fff203cb07e426223f55dcc882d.zip |
Introduce experimental telemetry
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 16 | ||||
-rw-r--r-- | config/production.yaml.example | 16 |
2 files changed, 32 insertions, 0 deletions
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: | |||
177 | log_tracker_unknown_infohash: true | 177 | log_tracker_unknown_infohash: true |
178 | prettify_sql: false | 178 | prettify_sql: false |
179 | 179 | ||
180 | # Highly experimental support of Open Telemetry | ||
181 | open_telemetry: | ||
182 | metrics: | ||
183 | enabled: false | ||
184 | |||
185 | # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics | ||
186 | prometheus_exporter: | ||
187 | port: 9091 | ||
188 | |||
189 | tracing: | ||
190 | enabled: false | ||
191 | |||
192 | # Send traces to a Jaeger compatible endpoint | ||
193 | jaeger_exporter: | ||
194 | endpoint: '' | ||
195 | |||
180 | trending: | 196 | trending: |
181 | videos: | 197 | videos: |
182 | interval_days: 7 # Compute trending videos for the last x days | 198 | 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: | |||
175 | log_tracker_unknown_infohash: true | 175 | log_tracker_unknown_infohash: true |
176 | prettify_sql: false | 176 | prettify_sql: false |
177 | 177 | ||
178 | # Highly experimental support of Open Telemetry | ||
179 | open_telemetry: | ||
180 | metrics: | ||
181 | enabled: false | ||
182 | |||
183 | # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics | ||
184 | prometheus_exporter: | ||
185 | port: 9091 | ||
186 | |||
187 | tracing: | ||
188 | enabled: false | ||
189 | |||
190 | # Send traces to a Jaeger compatible endpoint | ||
191 | jaeger_exporter: | ||
192 | endpoint: '' | ||
193 | |||
178 | trending: | 194 | trending: |
179 | videos: | 195 | videos: |
180 | interval_days: 7 # Compute trending videos for the last x days | 196 | interval_days: 7 # Compute trending videos for the last x days |