Does not work.. ¯\_ (ツ)_/¯
NaushBushi opened this issue · 3 comments
NaushBushi commented
Added https://api.geonet.org.nz/intensity?type=measured
It doesn't seem to work.
Tested the URL in browser it definitely returns JSON data.
simPod commented
Try with example server
https://github.com/simPod/GrafanaJsonDatasource/tree/0.7.x/examples/server
…On Mon, Oct 23, 2023, 18:55 NaushBushi ***@***.***> wrote:
Added https://api.geonet.org.nz/intensity?type=measured
It doesn't seem to work.
Tested the URL in browser it definitely returns JSON data.
[image: Screenshot from 2023-10-24 05-42-52]
<https://user-images.githubusercontent.com/121155513/277412544-1f8a4896-e4c3-402b-9c00-a8f6e1ec7dd3.png>
[image: Screenshot from 2023-10-24 05-52-30]
<https://user-images.githubusercontent.com/121155513/277413075-b83a1e4a-0259-4dd6-91d9-1edd71d3e662.png>
—
Reply to this email directly, view it on GitHub
<#504>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQAJO775HHHDQHB4TXFUDYA2ORBAVCNFSM6AAAAAA6MMJJL2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TONRQGE2DENA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
NaushBushi commented
There is so much wrong here.
In your example the command should be "go build" not "go compiler"
The listening port is 8181 but the script prints 8081
..And it doesn't seem to work any way.
Fixing your example would not real get my issue resolved.
This looks like a massive waste of my time.
I'll just write a JSON to prometheus endpoint in python.
simPod commented
Ok. Feel free to send a correcting PR if you ever feel to be helpful and a
have a bit of precious time.
…On Mon, Oct 23, 2023, 19:56 NaushBushi ***@***.***> wrote:
Closed #504 <#504>
as completed.
—
Reply to this email directly, view it on GitHub
<#504 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQAJME5HEBX42QXTEHJV3YA2VT5AVCNFSM6AAAAAA6MMJJL2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQG42DIMRYGY2TQMA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>