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

Plotting TimeSeries from NewRelic NerdGraph #68

Open
siddjoshi opened this issue Sep 8, 2021 · 1 comment
Open

Plotting TimeSeries from NewRelic NerdGraph #68

siddjoshi opened this issue Sep 8, 2021 · 1 comment
Labels
question Further information is requested

Comments

@siddjoshi
Copy link

siddjoshi commented Sep 8, 2021

Hi,

I am trying to get some timeseries data from newrelic graphql api. below is the response i am getting from graphql query

{
  "data": {
    "actor": {
      "entity": {
        "nrdbQuery": {
          "results": [
            {
              "beginTimeSeconds": 1630989900,
              "endTimeSeconds": 1630990500,
              "average.apm.service.apdex": 0.006239771279270337
            },
            {
              "beginTimeSeconds": 1630990500,
              "endTimeSeconds": 1630991100,
              "average.apm.service.apdex": 0.004462152694422367
            },
            {
              "beginTimeSeconds": 1630991100,
              "endTimeSeconds": 1630991700,
              "average.apm.service.apdex": 0.006847208108040821
            }
           
          ]
        }
      }
    }
  }
}

Now I am not finding documentation on how can I specify the time field. I tried various options and none of it seem to work.
Below are the combinations i tried for Time Path (and not working)

actor.entity.nrdbQuery.results.0.beginTimeSeconds
actor.entity.nrdbQuery.results.beginTimeSeconds
actor.entity.nrdbQuery.results[*].beginTimeSeconds
actor.entity.nrdbQuery.results[].beginTimeSeconds

Can anyone please assist me on what exactly I should be specifying in 'Time Path'

Regards
Siddharth

@siddjoshi siddjoshi added the question Further information is requested label Sep 8, 2021
@lidalei
Copy link

lidalei commented Aug 2, 2023

Data Path: actor.entity.nrdbQuery.results
Time Path: beginTimeSeconds
Time format: X

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

No branches or pull requests

2 participants