grafana/pkg/aggregator
dependabot[bot] 0b84d8afe7
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#95807)
* Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1

Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix make workspace update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jo <me@jguer.space>
2024-11-14 17:06:12 +02:00
..
apis/aggregation K8s: Move ResourceInfo from common to utils (#92924) 2024-09-04 14:53:14 +03:00
apiserver Aggregator: Add README and example query (#93351) 2024-09-13 22:55:26 +03:00
examples Aggregator: Add README and example query (#93351) 2024-09-13 22:55:26 +03:00
generated K8s: Fix hack/update-codegen (#91867) 2024-08-14 08:17:05 +03:00
registry/dataplaneservice K8s: Data Plane Aggregator (#91228) 2024-08-13 22:28:17 +03:00
go.mod Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#95807) 2024-11-14 17:06:12 +02:00
go.sum Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#95807) 2024-11-14 17:06:12 +02:00
README.md Aggregator: Add README and example query (#93351) 2024-09-13 22:55:26 +03:00

Data Plane Aggregator

Testing queries

  1. custom.ini changes:
[feature_toggles]
kubernetesAggregator = true
dataplaneAggregator = true
grafanaAPIServerEnsureKubectlAccess = true
  1. start grafana:
make run
  1. enable aggregation for prometheus data source:
export KUBECONFIG=./data/grafana-apiserver/grafana.kubeconfig
kubectl apply -f pkg/aggregator/examples/datasource.yml --validate=false
dataplaneservice.aggregation.grafana.app/v0alpha1.prometheus.grafana.app created
  1. edit pkg/aggregator/examples/datasource-query.json and update the datasource UID to match the UID of a prometheus data source.

  2. execute query (replace example with the UID of a prometheus data source):

curl 'http://admin:admin@localhost:3000/apis/prometheus.grafana.app/v0alpha1/namespaces/default/connections/example/query' -X POST -d '@pkg/aggregator/examples/datasource-query.json'