Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Commit 119ed46

Browse files
authored
Merge pull request #536 from wavefrontHQ/K8SSAAS-1242-v2-add-dropped-metrics-logic-to-readme
change readme
2 parents cec770b + 605dcd9 commit 119ed46

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,24 @@ Commonly used `make` options include:
3737
* `build` that creates a local executable
3838
* `container` that uses a docker container to build for consistency and reproducability
3939

40+
## Troubleshooting Dropped Metrics
41+
42+
Formerly, we would see the following error in the proxy logs when a metric has too many tags: `Too many point tags`.
43+
However, logic has been added to the collector to automatically drop tags in priority order
44+
to ensure that metrics make it through to the proxy and no longer cause this error.
45+
This is the order of the logic used to drop tags:
46+
1. Explicitly excluded tags (from `tagExclude` config).
47+
Refer [here](https://github.com/wavefrontHQ/wavefront-operator-for-kubernetes/blob/main/deploy/kubernetes/scenarios/wavefront-full-config.yaml) for an example scenario.
48+
1. Tags are empty or are interpreted to be empty (`"tag.key": ""`, `"tag.key": "-"`, or `"tag.key": "/"`).
49+
1. Tags are explicitly excluded
50+
(`"namespace_id": "..."`, `"host_id": "..."`, `"pod_id": "..."`, or `"hostname": "..."`).
51+
1. Tag **values** are duplicated, and the shorter key is kept
52+
(`"tag.key": "same value"` is kept instead of `"tag.super.long.key": "same value"`).
53+
1. Tag key matches `alpha.*` or `beta.*`, after keys have been sorted
54+
(e.g. `"alpha.eksctl.io/nodegroup-name": "arm-group"` or `"beta.kubernetes.io/arch": "amd64"`).
55+
1. (As a last resort) tag key matches IaaS-specific tags, after keys have been sorted
56+
(`"kubernetes.azure.com/agentpool": "agentpool"`, `"topology.gke.io/zone": "us-central1-c"`, `"eksctl.io/nodegroup-name": "arm-group"`, etc.).
57+
4058
## Contributing
4159
Public contributions are always welcome. Please feel free to report issues or submit pull requests.
4260

0 commit comments

Comments
 (0)