Skip to content

Process details metrics i.e process.executable.name missing while using otlp http feature with Prometheus #9647

@bhupenbisht

Description

@bhupenbisht

We are not able to see process details along with cpu and memory usage while using otlp http feature. We have configured kong gateway which forwarding metrics to Prometheus endpoint. Could someone advise on this issue. Below is my config.yaml file.

receiver:
hostmetrics:
collection_interval: 10s
scrapers:
memory: {}
cpu: {}
load: {}
disk: {}
filesystem: {}
network: {}
paging: {}
processes:
metrics:
system.processes.created:
enabled: true
system.processes.count:
enabled: true
process:
metrics:
process.cpu.utilization:
enabled: true
process.memory.utilization:
enabled: true
mute_process_name_error: true
mute_process_exe_error: true

processors:
resourcedetection:
detectors:
- env
- system

attributes:
actions:
- key: host_id
value: "${COMPUTERNAME}"
action: insert

batch:
send_batch_size: 8192
timeout: 200ms

exporters:
debug:
verbosity: detailed
otlphttp:
endpoint: "https://myikp.cloud.ik.xx/tapotel"
header: {"autherization": "Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}

service:
pipelines:
metrics:
receivers:
- hostmetrics
processors:
- resourcedetection
- attributes
- batch
exporters:
- debug
- otlphttp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions