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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to