From 7eb6d25f6dba93b52a15a193d7d77dbf1317fbc5 Mon Sep 17 00:00:00 2001 From: Patrick Way Date: Mon, 5 Jun 2023 09:54:09 -0400 Subject: [PATCH] Document how auto-host generation can inflate custom metrics --- README.rdoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.rdoc b/README.rdoc index c3237d1..b97a381 100644 --- a/README.rdoc +++ b/README.rdoc @@ -59,6 +59,11 @@ to take advantage of automatic tagging with the host's tags. If you want to attach events and points to a specific device on a host, simply specify the device when calling emit functions. +Note that auto-host detection can create an excessive number of custom metrics. +For example, in a Kubernetes CronJob the pod's hostname can be unique +everytime it runs. To prevent the creation of excessive number of custom metrics, +be sure that the "host" is set appropriately. + == Configure the Datadog API Url