-
Notifications
You must be signed in to change notification settings - Fork 124
Closed
Labels
Description
All agents should add a NOTE in the tag/label API to warn about a potential mapping explosion.
Suggested text (improvements are welcome, ofc.):
NOTE: Labels are indexed in Elasticsearch so that they are searchable and aggregatable.
By all means, you should avoid that user-specified data,
like URL parameters, is used as a tag key as it can lead to mapping explosions.
It probably makes sense to also link to https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html#mapping-limit-settings.
PR's:
- .NET - docs: clarify tags apm-agent-dotnet#197
- Go - docs: add tag information apm-agent-go#511
- Java - Add note that number and boolean labels require APM Server 6.7+ apm-agent-java#608
- Node.js - docs: add tip/warning to labels apm-agent-nodejs#1030
- Python - docs: clarify tags apm-agent-python#465
- Ruby - docs: add links to metadata section apm-agent-ruby#389
- RUM - docs: link to metadata section apm-agent-rum-js#254
axw