Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jtimon is not writing value to influx DB #45

Open
chagantvj opened this issue Jul 26, 2024 · 3 comments
Open

jtimon is not writing value to influx DB #45

chagantvj opened this issue Jul 26, 2024 · 3 comments

Comments

@chagantvj
Copy link

when we try to write streamed data to influx, I do not see value getting written to database

@amohit1315
Copy link
Collaborator

`
we write only KeyValue and xpaths to influx

Influx log
New point (per measurement): /components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/,component=re0/hwdre/stack1,component_id=65535,device=192.168.0.250,sensor=sensor_1037:/components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/:/components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/:re0/hwdre/stack1 /export_timestamp=1721944287459i,/producer_timestamp=1721944287459i,device_timestamp=1721944287459i,vendor="gnmi" 1721944180972131274

sensor log:
prefix: , kvpairs: map[component:re0/fabspoked-fchip component_id:65535 device:192.168.0.250 sensor:sensor_1037:/components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/:/components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/:re0/fabspoked-fchip], xpathVal: map[/export_timestamp:1721944287493 /producer_timestamp:1721944287493 device_timestamp:1721944287493 vendor:gnmi], juniperXpathVal: map[], juniperhdr: extension header{system_id:"ngpr-brackla-1a" component_id:65535 sensor_name:"sensor_1037" subscribed_path:"/components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/" streamed_path:"/components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/" component:"re0/fabspoked-fchip" payload_get_timestamp:1721944287493 stream_creation_timestamp:1721944287493 export_timestamp:1721944287493 eom:true }, measurement: /components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/, rsp: update:{timestamp:1721944287493063812} extension:{registered_ext:{id:EID_JUNIPER_TELEMETRY_HEADER msg:"\n\x0fngpr-brackla-1a\x10\xff\xff\x03"\x0bsensor_1037*c/components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/2c/components/component[name=''RE0'']/properties/property[name=''cpu-utilization-idle'']/state/value/:\x13re0/fabspoked-fchipH\x85҂ߎ2P\x85҂ߎ2\x85҂ߎ2p\x01x\x80\x97曬\xf9\x1f\x80\x01\x02"}}

@amohit1315
Copy link
Collaborator

The issue is seen, only when subscribing to a lead node?

@chagantvj
Copy link
Author

Yes, seen only when leaf is getting streamed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants