Skip to content

Commit

Permalink
chore: fixed readme syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 committed Aug 21, 2024
1 parent 5cdd707 commit f37b946
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions custom-instrumentation/attributes-events-metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Select 'Distributed tracing' on the left side of your screen. Then, select a tra

Navigate to 'Query Your Data' in New Relic. Enter the following query. You should now see information about your custom event(s).

```NRQL
```SQL
FROM `my_app:my_event` SELECT *
```

Expand All @@ -48,8 +48,14 @@ FROM `my_app:my_event` SELECT *

Navigate to 'Query Your Data' in New Relic. Enter the following query. You should now see information about your custom event(s).

```NRQL
SELECT count(newrelic.timeslice.value) FROM Metric WHERE metricTimesliceName like 'Custom/%' AND entity.guid = '<guid>' FACET metricTimesliceName SINCE 30 MINUTES AGO TIMESERIES
```SQL
SELECT count(newrelic.timeslice.value)
FROM Metric
WHERE metricTimesliceName like 'Custom/%'
AND entity.guid = '<guid>'
FACET metricTimesliceName
SINCE 30 MINUTES AGO TIMESERIES
```

![metrics-query](./image/README/metrics-query.png)

0 comments on commit f37b946

Please sign in to comment.