app
vs app_name
vs service.name
vs job
#225
-
Hi, I'm currently trying to get more familiar with Faro, Loki and so on. I'm a bit confused what they recommedentation would be when it comes to setting a label for your application. The grafana agent in your example sets a hardcoded initFaro({
app: {
name: "...."
}
....
}) Which adds the For Is the reason to enfore the This would mean that for every frontend application I deploy, I would need to add its own agent which can enforce the specific When I look at other examples arround loki, promtail and for example spring boot there is often the label Is there any recommendation or best practice on how to label your application? Kind Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mxab The initial thinking behind this was that we need a label that is enforced by the receiver to prevent spoofing data. It's about cases where one Faro app as configured on receiver is receiving telemetry from multiple frontends that might want to identify themselves. The naming ambiguity is very unfortunate and we should change this to a more explicit naming scheme. /cc @cedricziel |
Beta Was this translation helpful? Give feedback.
Hi @mxab
The initial thinking behind this was that we need a label that is enforced by the receiver to prevent spoofing data.
It's about cases where one Faro app as configured on receiver is receiving telemetry from multiple frontends that might want to identify themselves.
The naming ambiguity is very unfortunate and we should change this to a more explicit naming scheme.
/cc @cedricziel