Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PUB-214 Support multi port or global(applies to all ports) preprocessor rules #503

Merged
merged 4 commits into from
Feb 24, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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