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