Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access metrics service? #369

Open
Yggdrasil opened this issue Nov 17, 2021 · 5 comments
Open

How to access metrics service? #369

Yggdrasil opened this issue Nov 17, 2021 · 5 comments
Labels
kind/bug Something isn't working kind/help wanted Extra attention is needed

Comments

@Yggdrasil
Copy link

Yggdrasil commented Nov 17, 2021

When deploying IMC to Kubernetes via the Helm chart I can enable a Prometheus serviceMonitor that appears to look for a metrics service that listens on port 8443 and path /metrics.

Unfortunately I can't get it to work. If I use kubectl to port-forward to that metrics service and port, then try to curl it I get an Unauthorized response.

$ kubectl get svc
NAME                                       TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)    AGE
ingressmonitorcontroller-metrics-service   ClusterIP   10.0.78.81   <none>        8443/TCP   28d

$ kubectl port-forward service/ingressmonitorcontroller-metrics-service 8443

$ curl -k https://localhost:8443/metrics
Unauthorized

Prometheus also seems to have trouble reaching it, since it shows zero active targets.

Do you have any advice please?

@karl-johan-grahn karl-johan-grahn added kind/bug Something isn't working kind/help wanted Extra attention is needed labels Mar 15, 2023
@karl-johan-grahn
Copy link
Contributor

Needs more investigation, reproduction

@github-actions
Copy link

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale label May 15, 2023
@github-actions
Copy link

This issue was closed because it has been inactive for 30 days since being marked as stale.

@karl-johan-grahn
Copy link
Contributor

Reopening issues that inadvertently were closed as stale

@karl-johan-grahn
Copy link
Contributor

@Yggdrasil do you still face this issue, and what version of IMC do you get this behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working kind/help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants