4682355eed
chore: deprecate gauge metrics with _total suffix ( #12744 ) ( #12976 )
...
* chore: deprecate gauge metrics with _total suffix (#12744 )
Deprecated metrics:
- coderd_oauth2_external_requests_rate_limit_total
- coderd_api_workspace_latest_build_total
* Apply suggestions from code review
add link to follow-up issue
Co-authored-by: Cian Johnston <public@cianjohnston.ie >
---------
Co-authored-by: Cian Johnston <public@cianjohnston.ie >
2024-04-24 11:23:24 +03:00
c62a8b0bee
fix(helm)!: remove prometheus-http port declaration from coderd service spec ( #12214 )
...
This PR removes the prometheus-http port entirely from the coder service specification (originally added in #10448 ). It also removes the Helm value coder.service.prometheusNodePort.
Rationale: some cloud providers will helpfully expose all ports on a LoadBalancer service for you. The net effect of this is that setting CODER_PROMETHEUS_ENABLE will end up exposing port 2112 on your coderd service to the internet, which is likely undesired behaviour.
2024-02-20 11:36:17 +00:00
89ab659114
chore: add oauth2 prometheus metrics for to documentation ( #11534 )
2024-01-10 15:46:37 +00:00
b7bdb17460
feat: add metrics to workspace agent scripts ( #11132 )
...
* push startup script metrics to agent
2023-12-13 11:45:43 -06:00
167c759149
docs: add license and template insights prom metrics ( #11109 )
...
* docs: add license and template insights prom metrics
* add: coderd_insights_applications_usage_seconds
2023-12-08 14:17:14 -05:00
ddaf913088
feat: expose prometheus port in helm chart ( #10448 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-11-06 14:47:28 +00:00
d37f6d80f7
chore(docs): update docs for correct use of shell and console and enforce linewidth ( #9245 )
2023-08-23 12:27:57 +03:00
b398814ab0
docs: add prometheus scrape_config example ( #8113 )
...
* docs: add prometheus scrape_config example
* make: fmt
* add: label
* fix: spelling
* scheme: http
2023-06-20 21:09:35 +00:00
942aba3a66
feat: expose agent stats via Prometheus endpoint ( #7115 )
...
* WIP
* WIP
* WIP
* Agents
* fix
* 1min
* fix
* WIP
* Test
* docs
* fmt
* Add timer to measure the metrics collection
* Use CachedGaugeVec
* Unit tests
* WIP
* WIP
* db: GetWorkspaceAgentStatsAndLabels
* fmt
* WIP
* gauges
* feat: collect
* fix
* fmt
* minor fixes
* Prometheus flag
* fix
* WIP
* fix tests
* WIP
* fix json
* Rx Tx bytes
* CloseFunc
* fix
* fix
* Fixes
* fix
* fix: IgnoreErrors
* Fix: Windows
* fix
* reflect.DeepEquals
2023-04-14 16:14:52 +02:00
0347231bb8
feat: expose agent metrics via Prometheus endpoint ( #7011 )
...
* WIP
* WIP
* WIP
* Agents
* fix
* 1min
* fix
* WIP
* Test
* docs
* fmt
* Add timer to measure the metrics collection
* Use CachedGaugeVec
* Unit tests
* Address PR comments
2023-04-07 17:48:52 +02:00
43e8ba0811
feat(api): add prometheus metric coderd_workspace_builds_total ( #6314 )
...
This PR adds the prometheus metric coderd_workspace_builds_total.
It measures the total number of workspace builds, along with a number of labels intended to be useful for an operator debugging a failed workspace build trying to discover the scope of the issue.
2023-02-23 01:28:10 +00:00
8ef0306c08
Revert "docs: Change console to shell and remove unused elements ( #5960 )" ( #5964 )
...
This reverts commit 61dcf643e8
.
2023-02-01 17:05:45 -03:00
61dcf643e8
docs: Change console to shell and remove unused elements ( #5960 )
2023-02-01 18:27:11 +00:00
f76ef98a32
chore!: Standardize prometheus time metrics to seconds ( #5709 )
...
* chore!: Standardize prometheus time metrics to seconds
* Update prometheus docs
2023-01-13 11:15:25 -06:00
8df02f42c0
docs: make it clear the CLI must be downloaded to use templates ( #5373 )
2022-12-13 19:31:09 +00:00
cec667d309
fix: prettier misses docs directory ( #5285 )
...
* chore: keep admin/prometheus.md if make target fails
* Address PR comments
* Formatted
* fix: prettier misses docs
* make fmt
* More md files
2022-12-05 12:21:09 +01:00
916ed284ce
feat: Define Prometheus port in the pod spec ( #5213 )
...
* WIP
* portSpec
* Done
* Docs
* Fix: env
2022-12-01 15:43:32 +00:00
883cf8afa9
chore: Add missing metrics description ( #5212 )
...
* chore: Add missing metrics description
* Update provisionerd/provisionerd.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Fix
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2022-12-01 12:50:57 +01:00
38bdae7016
docs: Prometheus metrics + generator ( #5179 )
...
* docs: Prometheus metrics
* Fix
* Typo
* Typo
* Typo
* Fix: link
* Update docs/admin/prometheus.md
Co-authored-by: Dean Sheather <dean@deansheather.com >
* Update docs/admin/prometheus.md
Co-authored-by: Dean Sheather <dean@deansheather.com >
* Update docs/admin/prometheus.md
Co-authored-by: Dean Sheather <dean@deansheather.com >
* Update docs/admin/prometheus.md
Co-authored-by: Dean Sheather <dean@deansheather.com >
* Update docs/admin/prometheus.md
Co-authored-by: Dean Sheather <dean@deansheather.com >
* Rephrase
* notice
* use ```shell
* Generator
* gosec
* fix: lint
* PR comments
* not needed anymore
Co-authored-by: Dean Sheather <dean@deansheather.com >
Co-authored-by: Geoffrey Huntley <ghuntley@ghuntley.com >
2022-11-30 17:39:51 +01:00