# Issues with instance

**URL:** <https://discuss.prometheus.io/t/issues-with-instance/1499>\
**Category:** PromQL\
**Created:** [February 28, 2023, 4:34pm UTC](https://discuss.prometheus.io/t/issues-with-instance/1499 "2023-02-28T16:34:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sligade](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sligade](https://discuss.prometheus.io/u/sligade)\
**Post date:** [February 28, 2023, 4:34pm UTC](https://discuss.prometheus.io/t/issues-with-instance/1499/1 "2023-02-28T16:34:23Z")

</div>

I have a situation where multiple ec2 instances has the same hostname.  
So when i run promql on node\_exporter metric with {instance=a} and if i have two instances with instance name a, i get only one result back. Not sure how the query is aggregating the result.

-M

---

<div class="post-metadata">

**Author:** ![stuart](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/stuart/32/18_2.png) [@stuart](https://discuss.prometheus.io/u/stuart)\
**Post date:** [February 28, 2023, 4:56pm UTC](https://discuss.prometheus.io/t/issues-with-instance/1499/2 "2023-02-28T16:56:33Z")

</div>

For a metric to be ingestible it has to have unique labels. So there must be a different set of labels for these two EC2 instances (otherwise you’d have errors about dropping duplicate metrics).

---

<div class="post-metadata">

**Author:** ![sligade](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sligade](https://discuss.prometheus.io/u/sligade)\
**Post date:** [February 28, 2023, 5:22pm UTC](https://discuss.prometheus.io/t/issues-with-instance/1499/3 "2023-02-28T17:22:40Z")

</div>

☹ hanks Stuart,

That makes sense, however, on grafana UI i see some data (mostly flat lines), and looking at the  
journalctl -u node\_exporter, i see nothing but

http: URL query contains semicolon, which is not longer supported separator; xxxx see [golang.org/issue/25192](http://golang.org/issue/25192)

Not sure what that means, but i guess that data I see is garbage …☹

-M
