grafana/pkg/tsdb/prometheus/client
Stephanie Closson 53ee72d15d
Prometheus: Migrate metadata queries to use resource calls (#49921)
* Sent resource calls for metadata to the backend

* moved resource calls to the backend

* code review feedback

* fixed post with body

* statuscode >= 300

* cleanup

* fixed tests

* fixed datasource tests

* code review feedback

* force some other endpoints to only GET

* fix linting errors

* fixed tests

* was able to remove section of redundant code

* cleanup and code review feedback

* moved query_exemplars to get request

* fixed return on error

* went back to resource calls, but using the backendsrv directly

* moved to a resource call with fallback

* fixed tests

* check for proper messages

* proper check for invalid calls

* code review changes
2022-06-03 15:56:13 -03:00
..
cache_test.go Prometheus: Implement Streaming JSON Parser (#48477) 2022-05-13 20:28:54 +02:00
cache.go Prometheus: Implement Streaming JSON Parser (#48477) 2022-05-13 20:28:54 +02:00
client.go Prometheus: Migrate metadata queries to use resource calls (#49921) 2022-06-03 15:56:13 -03:00
provider_azure_test.go Prometheus: Predefined scopes for Azure authentication (#49861) 2022-05-31 05:20:26 -04:00
provider_azure.go Prometheus: Predefined scopes for Azure authentication (#49861) 2022-05-31 05:20:26 -04:00
provider_test.go Prometheus: Implement Streaming JSON Parser (#48477) 2022-05-13 20:28:54 +02:00
provider.go Prometheus: Set default method to POST in new HTTP client (#49198) 2022-05-18 15:44:41 -04:00