mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: rename flag to disable template insights (#21329)
Because this affects more than just the template insights page (specifically it also affects the deployment stats endpoint which is shown on bottom bar and Prometheus), the group is being renamed generically to just "stats collection". In the future if we need to affect the other stats we can put those options here. Then, because this change only affects a portion of stats, specifically usage stats like connection and application time, bytes sent, etc, add a new sub-group called "usage stats". Then finally add back the "enable" flag. This also gives us a place to one day place an "anonymize" flag if we need to go that route.
This commit is contained in:
+7
-9
@@ -291,15 +291,13 @@ INTROSPECTION / PROMETHEUS OPTIONS:
|
||||
--prometheus-enable bool, $CODER_PROMETHEUS_ENABLE
|
||||
Serve prometheus metrics on the address defined by prometheus address.
|
||||
|
||||
INTROSPECTION / TEMPLATE INSIGHTS OPTIONS:
|
||||
--template-insights-enable bool, $CODER_TEMPLATE_INSIGHTS_ENABLE (default: true)
|
||||
Enable the collection and display of template insights along with the
|
||||
associated API endpoints. This will also enable aggregating these
|
||||
insights into daily active users, application usage, and transmission
|
||||
rates for overall deployment stats. When disabled, these values will
|
||||
be zero, which will also affect what the bottom deployment overview
|
||||
bar displays. Disabling will also prevent Prometheus collection of
|
||||
these values.
|
||||
INTROSPECTION / STATS COLLECTION / USAGE STATS OPTIONS:
|
||||
--stats-collection-usage-stats-enable bool, $CODER_STATS_COLLECTION_USAGE_STATS_ENABLE (default: true)
|
||||
Enable the collection of application and workspace usage along with
|
||||
the associated API endpoints and the template insights page. Disabling
|
||||
this will also disable traffic and connection insights in the
|
||||
deployment stats shown to admins in the bottom bar of the Coder UI,
|
||||
and will prevent Prometheus collection of these values.
|
||||
|
||||
INTROSPECTION / TRACING OPTIONS:
|
||||
--trace-logs bool, $CODER_TRACE_LOGS
|
||||
|
||||
Reference in New Issue
Block a user