Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Synthetics Custom Attributes in Insights

nrql
insights
synthetics-script

#1

NRQL:

SELECT average(duration) FROM SyntheticCheck WHERE monitorName = ‘removed’ since 1 week ago TIMESERIES AUTO facet nr.customAttributes

I’m wanting the custom attributes to be displayed separate on the graph however they’re grouping as shown below.

Is there a way to display each of the custom attributes separate but with the area graph above, not a line graph?

as you can do a line graph using

SELECT average(custom.STEP)

Conclusion:

I’m wanting an area chart that displays my nr.customAttributes separate not in groups as shown above, and not a line chart.

Thanks,
Rob.


#2

Hi, @rhalliwell: I have never seen custom attributes displayed that way. How are you passing them in your Synthetics script?


#3

$util.insights.set(‘1AJUS1’, StepResponseTime);


#4

I don’t see an attribute named ‘step’ on your chart above?


#5

Edited my reply above to match the graph above.


#6

Ah, I see the problem: You are querying average(duration). You don’t want the duration of the entire SyntheticCheck; you want the average value of each custom attribute. I don’t think you can use FACET in this case: FACET shows you the various values of a single attribute; you are creating a separate attribute for each step name.