Skip to content

Commit

Permalink
Merge pull request #19099 from brnhensley/patch-1
Browse files Browse the repository at this point in the history
fix: typo & capitalize nrql clauses
  • Loading branch information
paperclypse authored Oct 28, 2024
2 parents afe85e5 + ea8fd4c commit 34de96c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ This table shows the mapping between NRQL and our PromQL-style queries when expl
**5. Add the selected ID to the query.**
</DNT>

Next you can select an `id` value and put it in the NRQL `where` clause.
Next you can select an `id` value and put it in the NRQL `WHERE` clause.

```sql
FROM Metric SELECT latest(container_memory_usage_bytes) WHERE id = "/" timeseries
FROM Metric SELECT latest(container_memory_usage_bytes) WHERE id = "/" TIMESERIES
```

<img
Expand All @@ -337,7 +337,7 @@ This table shows the mapping between NRQL and our PromQL-style queries when expl
/>

<figcaption>
<DNT>**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Query your data**</DNT>: This example shows the data displayed after running `From Metric select latest(container_memory_usage_bytes) where id = "/" timeseries`.
<DNT>**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Query your data**</DNT>: This example shows the data displayed after running `From Metric select latest(container_memory_usage_bytes) where id = "/" TIMESERIES`.
</figcaption>
</Collapser>
</CollapserGroup>
Expand Down Expand Up @@ -425,7 +425,7 @@ Here are some example queries:
In NRQL use the `LIKE` clause to match part of a string value. In this example, all data will be returned where the job attributes start with `api`.

```sql
FROM Metric SELECT latest(go_memstats_heap_alloc_bytes) WHEREe job LIKE 'api%' TIMESERIES
FROM Metric SELECT latest(go_memstats_heap_alloc_bytes) WHERE job LIKE 'api%' TIMESERIES
```
</td>
</tr>
Expand Down

0 comments on commit 34de96c

Please sign in to comment.