You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "ktpktr0 (via GitHub)" <gi...@apache.org> on 2024/03/06 01:13:34 UTC
[I] [Bug] Attempt to send cookie metrics to pushgateway failed [pulsar]
ktpktr0 opened a new issue, #22205:
URL: https://github.com/apache/pulsar/issues/22205
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Version
java: 1.8.0.162
pulsar: 2.10.5
os: centos7.9
### Minimal reproduce step
Here are the implementation details
```
/usr/bin/curl 192.168.0.93:8100/metrics | /usr/bin/curl --data-binary @- http://192.168.0.69:9091/metrics/job/irest_pulsar/instance/192.168.0.93/hostname/ecs-69711187-002.novalocal
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 172k 0 172k 0 0 39.8M 0 --:--:-- --:--:-- --:--:-- 42.0M
pushed metrics are invalid or inconsistent with existing metrics: 6 error(s) occurred:
* collected metric "process_cpu_seconds_total" { label:{name:"hostname" value:"ecs-69711187-002.novalocal"} label:{name:"instance" value:"192.168.0.93"} label:{name:"job" value:"irest_pulsar"} untyped:{value:7041.39}} is not a COUNTER
* collected metric "process_resident_memory_bytes" { label:{name:"hostname" value:"ecs-69711187-002.novalocal"} label:{name:"instance" value:"192.168.0.93"} label:{name:"job" value:"irest_pulsar"} untyped:{value:1.602596864e+09}} is not a GAUGE
* collected metric "process_max_fds" { label:{name:"hostname" value:"ecs-69711187-002.novalocal"} label:{name:"instance" value:"192.168.0.93"} label:{name:"job" value:"irest_pulsar"} untyped:{value:65535}} is not a GAUGE
* collected metric "process_open_fds" { label:{name:"hostname" value:"ecs-69711187-002.novalocal"} label:{name:"instance" value:"192.168.0.93"} label:{name:"job" value:"irest_pulsar"} untyped:{value:625}} is not a GAUGE
* collected metric "process_start_time_seconds" { label:{name:"hostname" value:"ecs-69711187-002.novalocal"} label:{name:"instance" value:"192.168.0.93"} label:{name:"job" value:"irest_pulsar"} untyped:{value:1.7084974661e+09}} is not a GAUGE
* collected metric "process_virtual_memory_bytes" { label:{name:"hostname" value:"ecs-69711187-002.novalocal"} label:{name:"instance" value:"192.168.0.93"} label:{name:"job" value:"irest_pulsar"} untyped:{value:1.095387136e+10}} is not a GAUGE
```
### What did you expect to see?
Indicator successfully pushed to pushgateway
### What did you see instead?
as above
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Attempt to send cookie metrics to pushgateway failed [pulsar]
Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat commented on issue #22205:
URL: https://github.com/apache/pulsar/issues/22205#issuecomment-6381526983
Thanks @ktpktr0 for the report. 2.10.x is no longer supported, and the metrics generation code has changed a lot since then. Could you check whether this still happens on a currently supported release (4.0.x, 4.2.x or 5.0.x)? If it does, please say which component serves port 8100 (broker, bookie, function worker, ZooKeeper...), and attach the `# HELP` / `# TYPE` lines and samples for the `process_*` metrics from its `/metrics` output. This issue will be closed in a few weeks if there is no update.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org