lightstep / servicenow-cloud-observability-datasource

ServiceNow Cloud Observability (formerly Lightstep) telemetry datasource for Grafana
Apache License 2.0
6 stars 3 forks source link

Update test datasource URL #54

Closed heidmotron closed 3 weeks ago

heidmotron commented 3 weeks ago

What does this PR do?

Switches the testDatasource url to use the GetProject endpoint

How does this impact users?

Currently, project specific tokens are being rejected as invalid since the /test endpoint is org specific and doesn't include project details.

What needed to change in the code and why?

Changed the test url to query the GetProject endpoint with a specific project. This allows Org and Project specific tokens to test and check validity.

How did you test this?

Manual testing

Code review notes