You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can i point another source location for aircraft.json file ? Could you please tell me , name of Envelopment variable i need to set for get data from http link ( not from local json file ) like http://IP:8080/data/aircraft.json
As i see you have only one application key to set local http port for Prometheus connection
Hey!
Well, there are no any environment variables for that (sorry)
For this functionality, need to write some code (https://github.com/esin/dump1090-exporter/blob/master/dump1090-exporter.go#L95 here are openning file, so before it, should be downloading json from remote host)
If you really need, you can code byself and create PR to repo :) or create issue in https://github.com/esin/dump1090-exporter - I'll try to push some code for this
And after sometime, I think is better solution for this case (and with dump1090-exporter) - using curl + jq + pushgateway. May be, it will be great, that dump1090-exporter is good in parsing aircraft.json and can only parse local file (unix-way), so another process (curl in loop) will download aircraft.json from remote host and put in some place
Well, yep
You are right. Your dump1090 saves altitude to "altitude" field, and exporter doesn't expect this
Can you check on flightradar24, is your altitude in meters or miles?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Good day Andrey Esin,
How can i point another source location for aircraft.json file ? Could you please tell me , name of Envelopment variable i need to set for get data from http link ( not from local json file ) like http://IP:8080/data/aircraft.json
As i see you have only one application key to set local http port for Prometheus connection
Thanks for your support.
Beta Was this translation helpful? Give feedback.
All reactions