# No data for target Pod

**URL:** <https://community.grafana.com/t/no-data-for-target-pod/88812>\
**Category:** Prometheus\
**Tags:** helm, prometheus, metrics, mongodb, kubernetes\
**Created:** [June 2, 2023, 3:44am UTC](https://community.grafana.com/t/no-data-for-target-pod/88812 "2023-06-02T03:44:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhismansarkar](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/abhismansarkar/32/33278_2.png) [@abhismansarkar](https://community.grafana.com/u/abhismansarkar)\
**Post date:** [June 2, 2023, 3:44am UTC](https://community.grafana.com/t/no-data-for-target-pod/88812/1 "2023-06-02T03:44:25Z")

</div>

These is my app manifest:

```auto
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mongodb-deployment
  labels:
    app: mongodb
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mongodb
  template:
    metadata:
      labels:
        app: mongodb
    spec:
      containers:
      - name: mongodb
        image: mongo:latest
        ports:
        - containerPort: 27017
---
apiVersion: v1
kind: Service
metadata:
  name: mongodb-service
spec:
  selector:
    app: mongodb
  ports:
    - protocol: TCP
      port: 27017
      targetPort: 27017        

```

* * *

My app’s exporter’s updated values (`mongodb-exporter.yaml`):

```auto
  uri: "mongodb://mongodb-service:27017"

serviceMonitor:
  enabled: true
  additionalLabels:
    release: prometheus

```

* * *

I apply the helm chart using:  
`helm install mongodb-exporter prometheus-community/prometheus-mongodb-exporter -f mongodb-exporter.yaml`

I can now see the service monitor for mongo db in the Prometheus UI but when I try to visualize metrics on Grafana, I get `No data`

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/d/4/d4cde315175dd8be135cac8215c77e6a4514c5c0.png)

- What Grafana version and what operating system are you using?  
Latest Grafana version, I think. I got this version pre-bundled when I applied the kube-prometheus helm stack

- What did you **expect** to happen?  
Expecting metrics to show up

- Did you follow any online instructions? If so, what is the URL?  
I was following this tutorial: [Prometheus Monitoring - Steps to monitor third-party apps using Prometheus Exporter | Part 2 - YouTube](https://www.youtube.com/watch?v=mLPg49b33sA)
