<div dir="ltr">I think going toward prom's label, ie. each possible value of a label IS actually a different metric, would really be a huge change for us and on the other hand we would miss our current "tags as meta-data" feature, that prom is lacking afaik...<div><br></div><div>But maybe that was not what you meant? I know "_name" is like a reserved label in prometheus but for them it has really a lot of implications.<div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 9, 2017 at 3:32 PM, Jay Shaughnessy <span dir="ltr"><<a href="mailto:jshaughn@redhat.com" target="_blank">jshaughn@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Calibri">I'm fairly sure the Agent already has a "name"
tag or something similar. We definitely need a convention for
this, if not an actual requirement. The metricName is way too
tedious, our use of tags should work towards Prometheus's use of
labels.</font><div><div class="h5"><br>
<br>
<div class="m_9044105755603870754moz-cite-prefix">On 8/9/2017 5:27 AM, Thomas Heute
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">We definitely need to solve that usability issue, I
definitely experienced it in Grafana.
<div><br>
</div>
<div>For Grafana in particular, I know Prometheus driver has a
"label name" that is defined in Grafana and can be templatized
with metrics labels. It's purely on Grafana side and only
works for Grafana.</div>
<div><br>
</div>
<div>Having a convention is a quick solution, do we see it used
by Metrics internals or only by agents and UIs ? Does it need
to support templating with other tags or do we expect the
client to be smarter to tags value change ?</div>
<div><br>
</div>
<div>I would also suggest displayName (or display_name or else)
rather than just name, I think it's clearer that it's for UI
and can change.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Aug 9, 2017 at 10:53 AM, Heiko
Rupp <span dir="ltr"><<a href="mailto:hrupp@redhat.com" target="_blank">hrupp@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 9 Aug 2017, at 8:41, Joel Takvorian wrote:<br>
<br>
> What would you say about having a convention of a
special tag (let's<br>
> say "_name") that would point to a (short)
intelligible name for a<br>
> metric. That convention wouldn't be mandatory in any
case of course,<br>
> but the UI could check if that tag exists and use
that name, instead<br>
> of the full metric id, for better display.<br>
<br>
</span>Makes sense to me.<br>
We had a displayName in RHQ.<br>
______________________________<wbr>_________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/hawkular-dev</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_9044105755603870754mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
hawkular-dev mailing list
<a class="m_9044105755603870754moz-txt-link-abbreviated" href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a>
<a class="m_9044105755603870754moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/hawkular-dev</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>______________________________<wbr>_________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/hawkular-dev</a><br>
<br></blockquote></div><br></div>