Skip to content

Commit

Permalink
Update docs/resource/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>
  • Loading branch information
tigrannajaryan and jpkrohling authored Feb 22, 2024
1 parent 8f17172 commit 64f274f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resource/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ thread in unicorn) to have its own instance.id.

It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the
service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will
likely be wrong, as the Collector likely doesn't know whether there are multiple containers within that pod.
likely be wrong, as the Collector might not know from which container within that pod the telemetry originated.
However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance
for that telemetry. This is typically the case for scraping receivers, as they know the target address and
port.
Expand Down

0 comments on commit 64f274f

Please sign in to comment.