diff options
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 |