ms-hujia
ec024ae960
Azure Monitor: Add support to customized routes ( #54829 )
2022-10-03 12:33:37 +02:00
Jimmie Han
c6dffb11a4
Tempo: Fix unexpected trimming of leading zeroes in traceID ( #55167 )
...
* tempo: fix unexpected trim traceID leading zero (#55166 )
* fix lint
2022-09-28 15:49:12 +02:00
Gábor Farkas
2efd7fa481
Elasticsearch: Reuse http client in the backend ( #55172 )
...
* elastic: backend: reuse http client
* fixed lint error
2022-09-26 14:27:46 +02:00
Jan Garaj
b1b4110ab1
CloudWatch: Add missing AWS/Prometheus metrics ( #54990 )
2022-09-22 22:25:33 -04:00
Kyle Brandt
27288276a2
Prometheus: Restore FromAlert header ( #55255 )
...
This restores the FromAlert header to prometheus for Grafana managed alert Queries.
It does this by reverting "Prometheus: Remove middleware for custom headers (#51518 )" , but also changing it so it is only the FromAlert header.
This reverts commit 2372501368
.
2022-09-22 11:03:13 -04:00
Jan Garaj
e5619c0fe6
CloudWatch: update AWS/States metrics ( #55427 )
2022-09-22 12:00:07 +02:00
Erik Sundell
5eeba155f7
Cloudwatch: Refactor - move describe all log groups to call resource handler ( #55582 )
...
* refactor backend
* move describe log groups to api file
* fix lint issue
2022-09-22 10:32:05 +02:00
Erik Sundell
28ebdf1641
move describe log groups to resource api ( #55485 )
2022-09-21 10:55:54 +02:00
Gábor Farkas
6dcc8534f7
elastic: simplify unit test ( #55168 )
2022-09-14 08:59:35 -04:00
Andreas Gerstmayr
2c622b912a
Prometheus: Fix integer overflow in rate interval calculation ( #52051 )
...
Affecting only 32-bit architectures.
2022-09-13 12:51:26 +02:00
Adam Simpson
879ee82b83
AzureMonitor: Fix custom namespaces ( #54937 )
2022-09-12 12:10:51 +02:00
Emil Tullstedt
b287047052
Chore: Upgrade Go to 1.19.1 ( #54902 )
...
* WIP
* Set public_suffix to a pre Ruby 2.6 version
* we don't need to install python
* Stretch->Buster
* Bump versions in lib.star
* Manually update linter
Sort of messy, but the .mod-file need to contain all dependencies that
use 1.16+ features, otherwise they're assumed to be compiled with
-lang=go1.16 and cannot access generics et al.
Bingo doesn't seem to understand that, but it's possible to manually
update things to get Bingo happy.
* undo reformatting
* Various lint improvements
* More from the linter
* goimports -w ./pkg/
* Disable gocritic
* Add/modify linter exceptions
* lint + flatten nested list
Go 1.19 doesn't support nested lists, and there wasn't an obvious workaround.
https://go.dev/doc/comment#lists
2022-09-12 12:03:49 +02:00
Ezequiel Victorero
722aca5c53
Public Dashboards: use intervalMs and maxDataPoints from request ( #53613 )
2022-08-29 18:13:06 -03:00
Gábor Farkas
a58edc9f5e
elastic: always use millisecond-intervals for alerting ( #54157 )
2022-08-26 14:40:28 +02:00
Marcus Efraimsson
87afd9cadc
Plugins: Remove various custom headers logic ( #54146 )
...
Removes various custom headers logic sprinkled around in the backend.
It should automatically be applied to outgoing HTTP requests via the
CustomHeadersMiddleware.
This also removes decryption of SecureJSONData to populate custom
headers in ngalert which seemed to have caused a ton of CPU usage.
2022-08-26 11:56:10 +02:00
Artur Wierzbicki
74158ed66b
Search: use SQL search as a fallback during bluge's initial indexing ( #54095 )
...
* Search: use SQL search as a fallback when bluge indexing is ongoing
* Search: lint
* Search: feedback fixes - return an empty frame with a special name
* Search: revert readiness check query type
* Search: remove println
* remove sleep, get coffee
2022-08-26 12:36:41 +04:00
Guilherme Caulada
f25c7f6ddd
Chore: Refactor secrets kvstore to organize testing and migrations ( #54249 )
...
* Refactor migrations and tests for secrets kvstore
* Use fake secrets store as a shortcut on tests
* Update wire
* Use global migration logger
* Fix ds proxy tests
* Fix linting issues
* Rename data source test setup function
2022-08-25 18:04:44 -03:00
Isabella Siu
4f2b66ac1d
CloudWatch: Log group variable should get all log groups ( #54062 )
2022-08-23 11:43:30 -04:00
Gábor Farkas
35253a909d
Elasticsearch: remove already-disabled code ( #52932 )
...
* elastic: removed unused code from go-part
* elastic: removed unused code from js-part
2022-08-22 16:25:20 +02:00
Gábor Farkas
395e443932
loki: Fix adding refId to rowId ( #53932 )
2022-08-22 13:09:33 +02:00
Takuya Kosugiyama
2ff007b266
Cloud Monitoring: Support SLO burn rate ( #53710 )
2022-08-22 10:11:54 +02:00
Jan Garaj
6ca7009b6c
CloudWatch: Add missing AWS/Lambda metrics ( #53866 )
...
Missing metrics/dimensions for AWS/Lambda. Removed Alias dimension - it isn't mentioned by doc and I don't see that dimension in my CloudWatch. Doc: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics.html
2022-08-18 09:18:40 -04:00
Jan Garaj
fdaf6b5e8d
CloudWatch: Add missing AWS/ApiGateway metrics ( #53839 )
...
Missing metrics/dimensions for WebSocket API. Doc: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-logging.html
2022-08-18 09:52:14 +02:00
Jan Garaj
83f8da2e02
Update of AWS/Events ( #53831 )
...
Added missing metrics: Events, IngestionToInvocationStartLatency. Doc: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-monitoring.html
2022-08-18 08:48:01 +02:00
Isabella Siu
f39f9eb053
Cloudwatch: update redis metrics ( #53618 )
2022-08-15 09:09:27 -04:00
Andres Martinez Gotor
a31d96d20a
Prometheus: Promote Azure auth flag to configuration ( #53447 )
2022-08-11 16:12:57 +02:00
Jo
062d255124
Handle ioutil deprecations ( #53526 )
...
* replace ioutil.ReadFile -> os.ReadFile
* replace ioutil.ReadAll -> io.ReadAll
* replace ioutil.TempFile -> os.CreateTemp
* replace ioutil.NopCloser -> io.NopCloser
* replace ioutil.WriteFile -> os.WriteFile
* replace ioutil.TempDir -> os.MkdirTemp
* replace ioutil.Discard -> io.Discard
2022-08-10 15:37:51 +02:00
idafurjes
6afad51761
Move SignedInUser to user service and RoleType and Roles to org ( #53445 )
...
* Move SignedInUser to user service and RoleType and Roles to org
* Use go naming convention for roles
* Fix some imports and leftovers
* Fix ldap debug test
* Fix lint
* Fix lint 2
* Fix lint 3
* Fix type and not needed conversion
* Clean up messages in api tests
* Clean up api tests 2
2022-08-10 11:56:48 +02:00
Andres Martinez Gotor
43955bdebd
Azure Monitor: Early error if the client secret is not set ( #53106 )
2022-08-02 16:53:05 +02:00
Isabella Siu
52b57fdb1c
CloudWatch: add CloudWatchSynthetics namespace ( #52956 )
2022-08-01 10:19:02 -04:00
Andres Martinez Gotor
314eb5223f
CloudMonitoring: Remove link setting for SLO queries ( #53031 )
2022-08-01 14:53:09 +02:00
Andrej Ocenas
d0e548c3e5
Prometheus: Add flag to compare streaming and buffered responses ( #51711 )
...
* Add flag to compare streaming and buffered
* Move log
* Fix lint
* Fix tests
* Remove debug logs
2022-07-28 14:26:51 +02:00
ismail simsek
2f9636e698
InfluxDB: move datasource health check to backend ( #52668 )
...
* Move datasource health check to backend
* Introduce healthcheck unit tests
* Remove unused method
2022-07-28 12:06:09 +02:00
Andres Martinez Gotor
d66e178b66
Azure Monitor: Append /default to the resource URI if needed ( #52884 )
2022-07-27 16:49:51 +02:00
Andres Martinez Gotor
7505cf418b
Azure Monitor: Deprecate metricDefinition ( #52793 )
2022-07-27 15:26:32 +02:00
Isabella Siu
542b4f2431
CloudWatch: returnData should default to true ( #52759 )
2022-07-27 08:45:59 -04:00
Shirley
7f73f65bcd
CloudWatch: Refactor tests to assert struct instead of marshalled json ( #52024 )
...
* CloudWatch: Refactor tests to assert struct instead of marshalled json
* apply linter suggestion
* Move false next to average
2022-07-25 05:48:09 -04:00
Connor Lindsey
83c1756251
Tracing: Send tags, events, and references as raw json ( #52245 )
...
* Tracing: Send tags, events, and references as raw json
* Update tempo fixture
2022-07-21 10:00:47 -06:00
Isabella Siu
146c90d59e
CloudWatch: fix log explorer context ( #52118 )
2022-07-19 13:59:30 -04:00
Gábor Farkas
46eec85b1a
loki: better handle an empty-response ( #52397 )
2022-07-19 08:13:38 +02:00
Adam Simpson
05cdef5004
CloudWatch: Remove simplejson in favor of 'encoding/json' ( #51062 )
2022-07-08 19:39:53 +00:00
ismail simsek
8deb17fdc4
Plugins: InfluxDB update time range query ( #51833 )
2022-07-07 19:55:51 +02:00
ismail simsek
3d68023606
Plugins: InfluxDB datasource - set epoch query param value as "ms" ( #51651 )
2022-07-07 13:02:20 -04:00
Artur Wierzbicki
052132be46
Storage: simplify retrieving the file names from the response frame ( #51805 )
...
* add util method for storage list frame
* use go:embed
* remove enum
2022-07-07 10:47:05 +04:00
Andrej Ocenas
bf334ab777
Prometheus: Small improvements to the custom client ( #51709 )
...
* Add suggestions
* Fix tests
2022-07-04 22:55:07 +02:00
Andrej Ocenas
3df34fe064
Prometheus: Remove cache, pass headers in request, simplify client creation for resource calls and custom client ( #51436 )
...
* Remove cache, pass headers in request, simplify client creation
* Add test for http options creation
2022-07-04 11:18:45 +02:00
Andreas Gerstmayr
040cc5021c
Prometheus: Fix integer overflow in rate interval calculation on 32-bit architectures ( #51508 )
2022-06-30 11:06:47 +02:00
Andrej Ocenas
2372501368
Prometheus: Remove middleware for custom headers ( #51518 )
2022-06-29 11:04:57 +02:00
Dan Keder
9595fd6b66
Prometheus: Support 1ms resolution intervals ( #44707 )
...
* Prometheus: Support 1ms resolution in time ranges
* UI: Support 1ms resolution in time ranges
2022-06-29 07:39:50 +02:00
Kristin Laemmert
945f015770
backend/datasources: move datasources models into the datasources service package ( #51267 )
...
* backend/datasources: move datasources models into the datasources service pkg
2022-06-27 12:23:15 -04:00