How to connect prometheus metrics with openTelemtry report trace data

Kibana version: 7.13.0

Elasticsearch version: 7.13.0

APM Server version: 7.13.0

**Original install method : k8s

Is there anything special in your setup?
Using the kafka outputs. No changed index pattern,generated custom templates, changed agent configuration etc

**Description of the problem including expected versus actual behavior. **:
MetricBeat has been implemented to connect to Prometheus.Discovery can show index for MetricBeat. But apm metric can't connect prometheus data. I want to connect prometheus metrics with openTelemtry report trace data. This MetricBeat config:

- module: system
      period: 10s
      metricsets:
        - cpu
        - load
        - memory
        - network
        - process
        - process_summary
        #- core
        #- diskio
        #- socket
      processes: ['.*']
      process.include_top_n:
        by_cpu: 5      # include top 5 processes by CPU
        by_memory: 5   # include top 5 processes by memory

    - module: system
      period: 1m
      metricsets:
        - filesystem
        - fsstat
      processors:
      - drop_event.when.regexp:
          system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'
   - module: kubernetes
        hosts: ["kube-state-metrics:8080"]
        period: 10s
        add_metadata: true
        metricsets:
        - state_node
        - state_deployment
        - state_daemonset
        - state_replicaset
        - state_pod
        - state_container
        - state_cronjob
        - state_resourcequota
        - state_statefulset
        - state_service
    - module: kubernetes
        metricsets:
        - apiserver
        bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
        ssl.certificate_authorities:
        - /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
        period: 30s
  kubernetes.yml: |-
    - module: kubernetes
      metricsets:
        - node
        - system
        - pod
        - container
        - volume
      period: 10s
      host: ${NODE_NAME}
      hosts: ["https://${NODE_NAME}:10250"]
      bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
      ssl.verification_mode: "none"

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.