Skip to content
Discussion options

You must be logged in to vote

@mskhan-devops I was not able to reproduce the problem with neither the current upstream of opentelemetry-collector-contrib nor v0.16 of adot. I might have missed something, but my understanding of the problem description is that "when both metric_names and resource_attributes are specified, no metrics are emitted". Is that correct? I tried following config:

receivers:
  prometheus:
    config:
      scrape_configs:
        - job_name: 'otel-collector'
          scrape_interval: 5s
          static_configs:
            - targets: ['0.0.0.0:8888']
processors:
  filter/1:
    metrics:
      include:
        match_type: regexp
        metric_names:
          - otelcol_process.*
        resou…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@mskhan-devops
Comment options

@mskhan-devops
Comment options

@mskhan-devops
Comment options

@pmm-sumo
Comment options

@mskhan-devops
Comment options

Answer selected by pmm-sumo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants