Relative Content

Tag Archive for newrelic

Add Dynamic Url to a New Relic Dashboard

I’m currently working on add graph widget to a new relic dashboard . Dashboard query contains dynamic parameters . I need to get data for all requests for that API call . My query is below

newrelic logging, does it affect existing logging?

Our java spring boot web app runs in AWS. We want to use newrelic to monitor the api endpoints and their timings. We dont want anything else, as we cant afford it. AWS sends our logs to our self install of ELK.

How to change newrelic error count query to percentage

When am using this query can see the graph with thousands of errors.
select count() AS ‘Total Errors’ FROM TransactionError where tags.environment = ‘PROD_US’ and (tags.scenario like ‘CCMHost%’ or tags.scenario like ‘Driver%’) FACET appName since 7 day ago UNTIL today TIMESERIES 1 day
Same Query i converted for getting percentage like below. But am not seeing anything all are showing zero.
SELECT
filter(count(
), WHERE tags.environment = ‘PROD_US’ AND (tags.scenario LIKE ‘CCMHost%’ OR tags.scenario LIKE ‘Driver%’) AND error IS true) * 100.0 /
filter(count(*), WHERE tags.environment = ‘PROD_US’ AND (tags.scenario LIKE ‘CCMHost%’ OR tags.scenario LIKE ‘Driver%’))
AS ‘Error Rate (%)’
FROM
TransactionError
FACET
appName
SINCE 7 days AGO
UNTIL today TIMESERIES 1 day