Isabella Siu
3b852bb582
CloudWatch: Remove references to pkg/infra/metrics ( #81744 )
...
CloudWatch: remove references to pkg/infra/metrics
2024-02-06 21:21:55 +02:00
Gabriel MABILLE
08f305797f
RBAC: Add metric to count search user permissions cache hits ( #81451 )
2024-01-30 10:37:47 +01:00
idafurjes
fb2b9f33d2
Fix method to service in metric label for FolderID ( #81283 )
2024-01-25 18:26:24 +02:00
idafurjes
0880a239f8
Add leftover metrics for FolderID ( #81246 )
2024-01-25 12:14:18 +01:00
idafurjes
7e5544ab21
Add MFolderIDsServiceCount to count folderIDs in services pkg ( #81237 )
2024-01-25 11:10:35 +01:00
idafurjes
6b4eaa0d18
Add MFolderIDsAPICount metric to count FolderIDs in api package ( #80866 )
...
* Add MFolderIDsAPICount metric to cound FolderIDs in api package
* Change counter to counter vector with method names as string values
2024-01-24 12:39:11 +01:00
Alexander Zobnin
08082104e1
Access control: Add permissions cache hit/miss metrics ( #80883 )
...
* Access control: Add permissions cache hit/miss metrics
* Add metrics to OSS
* Fix imports
2024-01-19 13:47:58 +01:00
Gabriel MABILLE
e062fa1d7e
RBAC: Change search permissions buckets to cover long searches ( #80624 )
...
* RBAC: Change search permissions histogram start and factor
* Add one bucket and lower start
2024-01-17 09:13:56 +01:00
Gabriel MABILLE
48ff532ca8
RBAC: Add histogram metric on search endpoint ( #80553 )
...
RBAC: Add histogram on search endpoint
2024-01-15 17:56:01 +01:00
Todd Treece
2a2a132c61
K8s: Refactor metrics to share k8s registry ( #79106 )
2023-12-06 16:34:23 -05:00
Todd Treece
7e2aad1d01
Revert "K8s: Refactor metrics to share k8s registry ( #77957 )" ( #79079 )
...
This reverts commit 38bc41651a
.
2023-12-05 09:34:07 -05:00
Todd Treece
38bc41651a
K8s: Refactor metrics to share k8s registry ( #77957 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-12-04 10:54:59 -08:00
Alexander Weaver
8a56a94781
Usagestats: Add stat group for alert rule groups ( #78825 )
...
* Add rule group support to usagestats service
* Quote column name
2023-11-29 14:37:36 -06:00
Alexander Weaver
27b7d1de6f
Stats: Fix unregistered unified alerting metric ( #78777 )
...
Fix unregistered metric
2023-11-29 08:28:13 -06:00
Renato Monteiro
63c26e91ee
Metrics: Update Help to mention active viewers ( #63384 )
2023-06-01 11:56:43 +02:00
Eric Leijonmarck
15c9ced944
Revert "APIkeys: Add metrics for apikey endpoints ( #66732 )" ( #66754 )
...
This reverts commit c505d26430
.
2023-04-18 13:05:52 +01:00
Eric Leijonmarck
c505d26430
APIkeys: Add metrics for apikey endpoints ( #66732 )
...
add metrics for apikey endpoints
2023-04-18 11:12:19 +01:00
Piotr Jamróz
b68be999f7
Correlations: Add usage stats about correlations ( #66021 )
...
* Add usage stats about correlations
* Add stats.correlations.count to collected stats
* Expose grafana_stat_totals_correlations metric
* Organize imports
2023-04-11 08:53:34 +02:00
Joan López de la Franca Beltran
87a0c95164
Rendering: Experimental support to use JWTs as auth method ( #60841 )
...
* Rendering: Add support for auth through JWT
* Goimports
* Apply review suggestions
* Correct feature toggle ref
* Minor changes
2023-04-03 18:53:38 +02:00
Gabriel MABILLE
895d4cc60b
Prometheus Metrics: Add missing stat_total_teams metric ( #65133 )
...
* Prometheus Metrics: Add missing stat_total_teams metric
2023-03-22 09:14:43 +01:00
Renato Monteiro
563a4bce3b
Metrics: Update comment to mention folders instead of dashboards ( #63312 )
2023-02-14 06:33:37 +01:00
Serge Zaitsev
f531074d89
Chore: Fix goimports grouping in pkg/infra ( #62421 )
...
* fix goimports
* fix goimports order
2023-01-30 08:32:25 +00:00
Carl Bergquist
3188af9be3
metrics: expose when the binary was built as an gauge ( #57951 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2022-11-01 13:00:47 +01:00
owensmallwood
664aa795c1
PublicDashboards: Add metric for public dashboard datasource query success ( #55701 )
...
Adds metric for which datasource queries are successful or not with pubdash.
2022-09-27 12:25:56 -06:00
Ezequiel Victorero
e0a58300ac
Public Dashboards: count public dashboards view requests ( #52419 )
2022-07-19 11:50:37 -03:00
Ezequiel Victorero
4c4d6fd425
PublicDashboards: collect stats for public dashboards ( #50553 )
...
* PublicDashboards: collect stats for public dashboards
2022-06-23 12:02:57 -03:00
Joan López de la Franca Beltran
97baa6911d
Metrics: Expose functions to initialize counters at zero ( #50122 )
2022-06-13 17:35:10 +02:00
Carl Bergquist
9562fb389f
Metrics: Remove support for using summaries instead of histogram for HTTP instrumentation ( #49985 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2022-06-01 14:33:59 +02:00
Joan López de la Franca Beltran
e43879e55d
Encryption: Add support for multiple data keys per day ( #47765 )
...
* Add database migrations
* Use short uids as data key ids
* Add support for manual data key rotation
* Fix duplicated mutex unlocks
* Fix migration
* Manage current data keys per name
* Adjust key re-encryption and test
* Modify rename column migration for MySQL compatibility
* Refactor secrets manager and data keys cache
* Multiple o11y adjustments
* Fix stats query
* Apply suggestions from code review
Co-authored-by: Tania <yalyna.ts@gmail.com>
* Fix linter
* Docs: Rotate data encryption keys API endpoint
Co-authored-by: Tania <yalyna.ts@gmail.com>
2022-05-23 13:13:55 +02:00
Joan López de la Franca Beltran
9826a694a8
Encryption: Add Prometheus metrics ( #48603 )
2022-05-06 10:21:55 +02:00
Carl Bergquist
ba7aca69f6
plugin: add signature status plugin build info ( #35128 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-06-02 20:53:56 +02:00
Hugo Häggmark
7204a64717
LibraryElements: Creates usage stats for panels and variables ( #34476 )
...
* LibraryPanels: Adds usage collection
* Refactor: renames Panel and Variable consts
* Chore: initialize stats
* Refactor: moves library element migrations to migration namespace
2021-05-24 06:11:01 +02:00
Kyle Brandt
e291203528
Alerting: a usage stat for ualerting ( #34390 )
...
collects `stats.alert_rules.count` , where alert_rules is the nextgen system
2021-05-19 10:31:25 -04:00
donomii
fc451cf277
Access Control: Add histograms for evaluator and permissions checks ( #34026 )
...
This patch adds metrics to support instrumenting the accesscontrols package.
It also instruments the accesscontrol evaluator and the permissions function.
Co-authored-by: Vardan Torosyan <vardants@gmail.com>
2021-05-17 13:52:16 +02:00
Agnès Toulet
ec71919e7b
Rendering: add CSV support ( #33729 )
...
* Rendering: add CSV rendering support
* Rendering: save csv files into a separate folder
* add missing field
* Renderer: get filename from renderer plugin
* apply PR suggestions
* Rendering: remove old PhantomJS error
* Rendering: separate RenderCSV and Render functions
* fix alerting test
* Rendering: fix handling error in HTTP mode
* apply PR feedback
* Update pkg/services/rendering/http_mode.go
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
* apply PR feedback
* Update rendering metrics with type label
* Rendering: return error if not able to parse header
* Rendering: update grpc generated file
* Rendering: use context.WithTimeout to render CSV too
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
2021-05-12 17:16:57 +02:00
Carl Bergquist
95c8766f86
Usagestats: Exclude folders from total dashboard count ( #31320 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-02-18 15:32:47 +01:00
Carl Bergquist
89ebb97fca
Instrumentation: Adds environment_info metric ( #28355 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-19 16:58:16 +02:00
Marcus Efraimsson
747513d444
Plugins: Fix loading of backend plugins ( #27951 )
...
Ref #27921
2020-10-01 10:39:42 +02:00
Carl Bergquist
7b891d10ee
Instrumentation: Removes invalid chars from label names ( #27921 )
2020-09-30 20:12:57 +02:00
Arve Knudsen
41d432b5ae
Chore: Enable whitespace linter ( #25903 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-06 20:17:28 +02:00
Carl Bergquist
26852ca788
Instrument dashboard versions and annotation count ( #26044 )
2020-07-03 15:47:46 +02:00
Arve Knudsen
07582a8e85
Chore: Fix various spelling errors in back-end code ( #25241 )
...
* Chore: Fix various spelling errors in back-end code
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>>
2020-06-01 17:11:25 +02:00
Dan Cech
66b7398fb6
expose metrics for the number of configured datasources ( #24267 )
2020-05-06 11:36:18 -04:00
Alexander Zobnin
fa710a3172
Rendering: Add metrics ( #23827 )
...
* Rendering: base metrics
* Rendering: rendering_queue_size metric
* Chore: fix linter error
* Rendering metrics: refactoring
* Apply suggestions from code review
Co-Authored-By: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Rendering metrics: handle DeadlineExceeded errors
* Rendering metrics: don't measure canceled request time
* Rendering metrics: revert deleting summary for canceled requests
* Update pkg/services/rendering/rendering.go
Co-Authored-By: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Rendering: return ErrTimeout if context deadline exceeded
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-04-27 15:29:46 +03:00
Carl Bergquist
a08cbbcc81
Instrument backend plugin requests ( #23346 )
2020-04-09 14:47:46 +02:00
Mark Carey
28230bbf52
Metrics: Adds back missing summary quantiles ( #21858 )
...
Adds back missing summary quantiles which was mistakenly
removed in v6.6.0.
Fixes #21857
2020-02-05 11:11:14 +01:00
Marcus Efraimsson
5c711bfb79
Backend Plugins: Collect and expose metrics and plugin process health check ( #21481 )
...
Adds support for collecting metrics from backend plugins and
exposing them thru Grafana's Prometheus metrics endpoint.
Enables to check health of backend plugin by using the route
`/api/plugins/<plugin id>/health`.
Uses sdk v0.6.0.
Closes #20984
2020-01-15 13:10:48 +01:00
Dima Kurguzov
a4b0ccc138
Instrumentation: Add failed notifications metric ( #18089 )
2019-07-24 11:43:24 +02:00
Alexander Zobnin
214195441f
SAML: add metrics ( #18194 )
2019-07-19 15:30:31 +03:00
Oleg Gaidarenko
75fa1f0207
Metrics: use consistent naming for exported variables ( #18134 )
...
* Metrics: remove unused metrics
Metric `M_Grafana_Version` is not used anywhere, nor the mentioned
`M_Grafana_Build_Version`. Seems to be an artefact?
* Metrics: make the naming consistent
* Metrics: add comments to exported vars
* Metrics: use proper naming
Fixes #18110
2019-07-16 16:58:46 +02:00