Skip to content

Commit

Permalink
Merge branch 'develop' into NR-322277-media-streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
adutta-newrelic committed Jan 23, 2025
2 parents d76ae8e + fdb9d2d commit 8cee93f
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ These are the requirements for the authorization:

You need a user with <DNT>**Project IAM Admin**</DNT> role to add the service account ID as a member in your GCP project.

Before adding the service account, ensure you click "Fetch data" of the onboarding wizard to verify authorization for data retrieval from Google.

In the GCP project <DNT>**IAM & admin**</DNT>, the service account must have the <DNT>**Viewer**</DNT> role and the <DNT>**Service Usage Consumer**</DNT> role or, alternatively, a [custom role](/docs/integrations/google-cloud-platform-integrations/get-started/integrations-custom-roles).
</td>
</tr>
Expand Down
39 changes: 39 additions & 0 deletions src/content/docs/nrql/nrql-syntax-clauses-functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,45 @@ As noted in our [basic NRQL syntax doc](/docs/query-your-data/nrql-new-relic-que
```
</Collapser>
</CollapserGroup>

You can include both the `*` wildcard and individual attributes, [functions](#non-aggregator-functions), math expressions, and [NRQL variables](#with-as-nrql-var) in the same `SELECT` statement. `*` may appear at the beginning or end of the `SELECT` list, and the additional columns selected will appear at the beginning or end of the results table, respectively:

```sql
SELECT *, attribute, function(attribute), attribute1 + attribute2 FROM ...
```

```sql
WITH attribute1 + attribute2 AS attrSum SELECT attrSum, attribute, function(attribute), * FROM ...
```

<CollapserGroup>
<Collapser
id="select-star-with-columns-query"
title={<><InlineCode>SELECT *</InlineCode> with additional columns</>}
>
This query returns all available PageView attributes with additional columns at the beginning.

```sql
WITH concat('(', asnLatitude, ', ', asnLongitude, ')') AS coordinates
SELECT coordinates, city, connectionSetupDuration + pageRenderingDuration AS partialDuration, *
FROM PageView
```

<img
title="select star with additional columns"
alt="select star with additional columns"
src="/images/nrql_screenshot-select-star-with-additional-columns.webp"
/>

<figcaption>
<InlineCode>SELECT *</InlineCode> with additional columns example
</figcaption>
</Collapser>
</CollapserGroup>

<Callout variant="tip">
Only [non-aggregator functions](#non-aggregator-functions) are supported in the `SELECT` list along with `*`.
</Callout>
</Collapser>

<Collapser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ New Relic now offers comprehensive serverless monitoring for Azure Functions, in
* **Containerized function support:** Gain deep insights into the behavior of your Azure Functions deployed as containers, even when running within Kubernetes environments.
* **Comprehensive metrics:** Access a rich set of metrics related to compute, garbage collection, and HTTP status codes, empowering you to proactively identify and address performance issues.

![Azure serverless image](../../../../../static/images/azureserverless.webp "Azure serverless")
![Azure serverless image](/images/azureserverless.webp "Azure serverless")
4 changes: 3 additions & 1 deletion src/data/whats-new-ids.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,5 +358,7 @@
"/whats-new/2025/01/whats-new-01-13-otelmetrics": "43015",
"/whats-new/2025/01/whats-new-01-16-azureserverless": "43016",
"/whats-new/2025/01/whats-new-01-17-cross-account-alerts": "43017",
"/whats-new/2025/01/whats-new-03-01-rest-api-keys-eol": "43018"
"/whats-new/2025/01/whats-new-03-01-rest-api-keys-eol": "43018",
"/whats-new/2025/01/whats-new-01-22-React18-upgrade": "43019",
"/whats-new/2025/01/whats-new-01-23-msconnector-eol": "43020"
}
Binary file not shown.

0 comments on commit 8cee93f

Please sign in to comment.