I have installed:
helm install kube-prometheus bitnami/kube-prometheus -f values.yaml

Contents values.yaml:
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: myservice
  labels:
    app: myservice
    release: prometheus
spec:
  selector:
    matchLabels:
      app: myservice
  endpoints:
  - targetPort: 10100
  - interval: 5s
    path: /prometheus
  namespaceSelector:
    any: true


I launch prometheus dashboard through port-forward and see myservice in 
prometheus target & prometheus service discovery.
I also see all metrics of my application https://myservice/prometheus, 
which generates my application in prometheus-format.

Problem:
I do not see any metrics of my service in prometheus dashboard 
http://localhost/graph and therefore I can not use these metrics to build 
graphs or create a PromQL query.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/7d44dd75-e984-4dd3-b8ca-984568419f10n%40googlegroups.com.

Reply via email to