Skip to content

Vector.dev CPU cap in code/internally at 8vcpu? #23369

Answered by jlambatl
pdonorio asked this question in General
Discussion options

You must be logged in to vote

@pdonorio, our internal metrics go through a filter transform and then an enrichment, where we add additional tags to the metrics before they go to the sink.

source -> filter -> remap -> sink

Here's the remap (enrichment) transform configuration.

type = "remap"

inputs = [
  "internal_metrics_filtered",
]

# Metric mutation: https://vector.dev/docs/reference/configuration/transforms/remap/#event-data-model
source = '''
  .tags.environment = "${AWS_ENV}"
  .tags.environment_type = "${AWS_ENVTYPE}"
  .tags.instance_type = "${AWS_INSTANCE_TYPE}"
'''

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@pdonorio
Comment options

Comment options

You must be logged in to vote
1 reply
@pdonorio
Comment options

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: performance Anything related to Vector's performance platform: kubernetes Anything `kubernetes` platform related meta: awaiting author Pull requests that are awaiting their author.
3 participants