<p>can someone answer me the following questions, otherwise it's a little unclear to me.</p>
<ol>
<li><p>How do I understand and where to look what annotations exist at all? Is there a list somewhere or template?</p>
</li>
<li><p>Standard annotations work and prometheus sees this service. Everything is ok with this.</p>
<p>annotations:
prometheus.io/scrape: 'true'
prometheus.io/path: '/actuator/prometheus'
prometheus.io/port: '8700'</p>
</li>
<li><p>But the service is displayed as Endpoint IP. Is there any possibility, setting, so that not Endpoint IP is displayed in prometheus targets, but the service name and namespace?</p>
</li>
</ol>
<p>Thanks</p>

JDev
<p>I'll try and give you some answer based on what I understand from your question.</p>
<ol>
<li>About the annotations : to know wich are the one used by the Helm chart, well there is no magic here, you need to read the templates files. Although, most of those annotations are listed in the <code>values.yaml</code> file under the <code>relabel_configs</code> section. You'll find blocks like this one</li>
</ol>
<pre class="lang-yaml prettyprint-override"><code>        relabel_configs:
          - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape]
            action: keep
            regex: true
</code></pre>
<p>This means that all the ressource of this job that has the <code>prometheus.io/scrape</code> annotation with the value <code>true</code> will be scrapped.</p>
<ol start="2">
<li><p>Yes, this is normal based on the content of the <code>values.yaml</code> file.</p>
</li>
<li><p>On the target page, Prometheus will always print the IP address under the <em>Endpoint</em> column. However you can play with the configuration in order to print the namespace and ressource name under the <em>Labels</em> column if it's not already here.</p>
</li>
</ol>
