v2.4.6 - Namespaced Environment Tags
Namespaced Environment Tags
Now you can add namespaced (i.e. tags with dots in their name) environment tags to the kamon.environment.tags
settings in your configuration file.
kamon.environment.tags {
container.id = "4444444444"
k8s {
namespace.name = "production"
cluster {
name = "strong-cluster"
}
}
}
For example, the settings above in your application.conf
file would add the container.id
, k8s.namespace.name
, and k8s.cluster.name
tags to the environment. Most reporters will automatically add all of these tags to metrics and spans before they get sent out.