Google Cloud Managed Service for Prometheus #78
DazWilkin
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Hi @DazWilkin, not sure if you wrote this and your blog prior to Google creating\documenting their own frontend proxy? Pointing PromLens at URL of frontend proxy (which has authn token mounted) seems to allow it to access data fine. Can auto-complete metrics and graph them, but the table tab errors ‘Error: Missing “data” field in response JSON’: Have you ever hit this error? Debug logs show nothing. On promlens v0.3.0. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In order for PromLens to work with Google Cloud Managed Service for Prometheus (GMP), (Prometheus) API requests must be authenticated (and the identity must be authorized).
I hacked together a basic proxy (
promlens-gmp-token-proxy
) that should1 be run on same host as PromLens, functions as a proxy including adding anAuthorization
header to PromLens requests to authenticate to GMP.There's an explanation here: Authenticating PromLens to Google Managed Prometheus
1 -- For simplicity the proxy provides a non-TLS (!) HTTP endpoint to PromLens even though it uses TLS to make requests to GMP.
Beta Was this translation helpful? Give feedback.
All reactions