Skip to content

Commit

Permalink
PUB-214 Support multi port or global(applies to all ports) preprocess…
Browse files Browse the repository at this point in the history
…or rules (#503)
  • Loading branch information
akodali18 committed Feb 24, 2020
1 parent 9fe4ac7 commit 9b7cc42
Show file tree
Hide file tree
Showing 5 changed files with 332 additions and 239 deletions.
22 changes: 22 additions & 0 deletions pkg/etc/wavefront/wavefront-proxy/preprocessor_rules.yaml.default
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,25 @@
scope : "db.statement"
actionSubtype : truncateWithEllipsis
maxLength : "128"


# Multiport preprocessor rules

'2878, 4242':
# Add k8s cluster name point tag for all points across multiple ports.
- rule : example-renametag-k8s-cluster
action : addTag
tag : k8scluster
value : eks-dev

'global':
# Rename k8s cluster name point tag for all points across all ports.
- rule : example-renametag-k8s-cluster
action : renameTag
tag : k8sclustername
value : k8scluster

- rule : example-span-renametag-k8s-cluster
action : spanRenameTag
key : k8sclustername
newkey : k8scluster

0 comments on commit 9b7cc42

Please sign in to comment.