Skip to content

Commit

Permalink
Merge pull request #18715 from newrelic/daily-release/Sep-19-2024-10_20
Browse files Browse the repository at this point in the history
Daily release/sep 19 2024 10 20
  • Loading branch information
akristen authored Sep 19, 2024
2 parents 9ed7d37 + f58b7af commit 4bc5879
Show file tree
Hide file tree
Showing 9 changed files with 140 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,19 +273,19 @@ version.

| Package name | Minimum supported version | Latest supported version | Introduced in* |
| --- | --- | --- | --- |
| `@apollo/gateway` | 2.3.0 | 2.9.0 | `@newrelic/apollo-server-plugin@1.0.0` |
| `@apollo/gateway` | 2.3.0 | 2.9.1 | `@newrelic/apollo-server-plugin@1.0.0` |
| `@apollo/server` | 4.0.0 | 4.11.0 | `@newrelic/apollo-server-plugin@2.1.0` |
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.651.1 | 11.13.0 |
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.651.1 | 8.7.1 |
| `@aws-sdk/client-sns` | 3.0.0 | 3.651.1 | 8.7.1 |
| `@aws-sdk/client-sqs` | 3.0.0 | 3.651.1 | 8.7.1 |
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.651.1 | 8.7.1 |
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.654.0 | 11.13.0 |
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.654.0 | 8.7.1 |
| `@aws-sdk/client-sns` | 3.0.0 | 3.654.0 | 8.7.1 |
| `@aws-sdk/client-sqs` | 3.0.0 | 3.654.0 | 8.7.1 |
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.654.0 | 8.7.1 |
| `@aws-sdk/smithy-client` | 3.47.0 | 3.374.0 | 8.7.1 |
| `@elastic/elasticsearch` | 7.16.0 | 8.15.0 | 11.9.0 |
| `@grpc/grpc-js` | 1.4.0 | 1.11.2 | 8.17.0 |
| `@grpc/grpc-js` | 1.4.0 | 1.11.3 | 8.17.0 |
| `@hapi/hapi` | 20.1.2 | 21.3.10 | 9.0.0 |
| `@koa/router` | 11.0.2 | 13.0.1 | 3.2.0 |
| `@langchain/core` | 0.1.17 | 0.3.1 | 11.13.0 |
| `@koa/router` | 11.0.2 | 13.1.0 | 3.2.0 |
| `@langchain/core` | 0.1.17 | 0.3.2 | 11.13.0 |
| `@nestjs/cli` | 9.0.0 | 10.4.5 | 10.1.0 |
| `@prisma/client` | 5.0.0 | 5.19.1 | 11.0.0 |
| `@smithy/smithy-client` | 2.0.0 | 3.3.2 | 11.0.0 |
Expand All @@ -309,10 +309,10 @@ version.
| `mongodb` | 4.1.4 | 6.9.0 | 1.32.0 |
| `mysql` | 2.2.0 | 2.18.1 | 1.32.0 |
| `mysql2` | 2.0.0 | 3.11.3 | 1.32.0 |
| `next` | 13.4.19 | 14.2.11 | 12.0.0 |
| `openai` | 4.0.0 | 4.61.1 | 11.13.0 |
| `pg` | 8.2.0 | 8.12.0 | 9.0.0 |
| `pg-native` | 2.0.0 | 3.1.0 | 9.0.0 |
| `next` | 13.4.19 | 14.2.12 | 12.0.0 |
| `openai` | 4.0.0 | 4.62.1 | 11.13.0 |
| `pg` | 8.2.0 | 8.13.0 | 9.0.0 |
| `pg-native` | 2.0.0 | 3.2.0 | 9.0.0 |
| `pino` | 7.0.0 | 9.4.0 | 8.11.0 |
| `q` | 1.3.0 | 1.5.1 | 1.26.2 |
| `redis` | 3.1.0 | 4.7.0 | 1.31.0 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ Because all requests by the New Relic agent are not collected all the time, it

Run the following NRQL query to identify where you might see CodeLenses with code-level metrics for one of your services. Just replace the example `entity.guid` value with the one for the given service. In the query results, look at the `code.*` attributes to see if any of them represent your code, and not framework code.

```
SELECT *
FROM Span
WHERE entity.guid = 'MXxBUE18QVBQTElDQVRJT058MjM' AND code.function is not null
```sql
SELECT * FROM Span
WHERE entity.guid = 'YOUR_ENTITY_GUID' AND code.function IS NOT NULL
SINCE 30 minutes ago LIMIT MAX
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
---
title: OCSF integration
tags:
- New Relic integrations
- OCSF integration
metaDescription: Use New Relic infrastructure agent to get a dashboard with metrics from your OCSF format data.
freshnessValidatedDate: 2024-09-18
---

Monitor OCSF data seamlessly with New Relic for comprehensive visibility into security-related data from multiple sources to facilitate threat detection, incident response, and compliance.

<img
title="OCSF dashboard"
alt="OCSF dashboard"
src="/images/infrastructure_screenshot-full_ocsf-dashboard.webp"
/>

<figcaption>
After setting up our OCSF integration, see your data in a dashboard right out of the box.
</figcaption>


## Set up the OCSF integration [#set-up-ocsf]

Complete the following steps to set up the OCSF integration:

<Steps>
<Step>
## Install the infrastructure agent [#infra-install]

To use the OCSF integration, you need to also [install the infrastructure agent](/docs/infrastructure/install-infrastructure-agent/get-started/install-infrastructure-agent-new-relic/) on the same host. The infrastructure agent monitors the host itself, while the integration you'll install in the next step extends your monitoring with OCSF-specific data.
</Step>
<Step>

## Enable the OCSF integration with `nri-flex` [#enable]

1. Create a file named `nri-ocsf.yml` in the integrations directory:

```shell
touch /etc/newrelic-infra/integrations.d/nri-ocsf.yml
```

2. Add the following snippet to your `nri-ocsf.yml` file to enable the agent to capture OCSF data:

```yml
integrations:
- name: nri-flex
config:
name: ocsfExample
global:
base_url: http://ip-address:PORT
headers:
accept: application/json
apis:
- event_type: ocsfSampleEvent # use this name to query the data
url: /customEndpoint # endpoint with OCSF data
- event_type: ocsfCustomEvent1
url: /customEndpoint2
```
</Step>
<Step>
## Restart the New Relic infrastructure agent [#restat-agent]
Use the instructions in our [infrastructure agent docs](/docs/infrastructure/install-infrastructure-agent/manage-your-agent/start-stop-restart-infrastructure-agent/) to restart your infrastructure agent. This is command that should work for most people:
```shell
sudo systemctl restart newrelic-infra.service
```

</Step>
<Step>

## Find your data [#find-data]

You can use our pre-built dashboard template to monitor your OCSF application metrics. Follow these steps to use our pre-built dashboard template:

1. Go to <DNT>**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > + Integrations & Agents**</DNT>.

2. Select <DNT>**Dashboards**</DNT> to access the pre-built resources.

3. Search <DNT>**OCSF**</DNT> and select the dashboard.

To instrument the OCSF quickstart and to see metrics and alerts, you can also follow our [OCSF quickstart page](https://newrelic.com/instant-observability/ocsf) by clicking on the <DNT>**Install now**</DNT> button.

Here is an example NRQL query to view the OCSF master uptime:

```sql
SELECT * FROM ocsfSampleEvent
```
</Step>
</Steps>

## What's next? [#whats-next]

To learn more about building NRQL queries and generating dashboards, check out these docs:

* [Introduction to the query builder](/docs/query-your-data/explore-query-data/query-builder/introduction-query-builder) to create basic and advanced queries.

* [Introduction to dashboards](/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards) to customize your dashboard and carry out different actions.

* [Manage your dashboard](/docs/query-your-data/explore-query-data/dashboards/manage-your-dashboard) to adjust your <InlinePopover type="dashboards"/> display mode, or to add more content to your dashboard.
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ The Cosmos DB integration requires you to create an additional role and permissi
icon.
2. Add the following command:

```
```sh
az role definition create --role-definition '{
"Name": "NewRelic Integrations",
"Actions": [
"*/read",
"Microsoft.DocumentDB/databaseAccounts/listKeys/action"
],
"NotActions": [],
"AssignableScopes": [
"/subscriptions/YOUR_INSERT_SUBSCRIPTION_ID"
],
"Description": "Read Only for NewRelic Integrations",
"IsCustom": "true"
"Name": "NewRelic Integrations",
"Actions": [
"*/read",
"Microsoft.DocumentDB/databaseAccounts/listKeys/action"
],
"NotActions": [],
"AssignableScopes": [
"/subscriptions/YOUR_INSERT_SUBSCRIPTION_ID"
],
"Description": "Read Only for NewRelic Integrations",
"IsCustom": "true"
}'
```
3. From <DNT>**Services > Subscriptions**</DNT>, select the subscription, go to <DNT>**Access control (IAM)**</DNT>, and then select <Icon name="fe-plus"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Here are some details on this integration's features:

For example, to see the amount of metric updates received from Azure Monitor in the last hour, run this query:

```
```sql
FROM Metric SELECT count(*) WHERE collector.name = 'azure-monitor' TIMESERIES SINCE 1 hour ago
```

Expand All @@ -150,7 +150,7 @@ Here are some details on this integration's features:

Make sure your filter limits data to metrics from only the Azure Monitor integration. For example:

```
```sql
FROM Metric
SELECT max(`azure.storage.storageaccounts.SuccessServerLatency`)
WHERE collector.name = 'azure-monitor'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ Make sure your iOS app meets these requirements:

The iOS agent can monitor tvOS apps. For details, see [tvOS compatibility](/docs/mobile-monitoring/new-relic-mobile-ios/tvos/new-relic-tvos-compatibility-requirements).

## watchOS [#watchos]

The iOS agent can monitor watchOS apps. For details, see [watchOS compatibility](/docs/mobile-monitoring/new-relic-mobile-ios/watchOS/instrument-watchos).

## Testing is not supported [#testing]

Our agents are designed and tested to work in a normal app lifecycle. New Relic does not support running any testing environment on applications with the agent. Testing can cause conflicts and unpredictable behavior.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ To use private locations, first review these requirements and other factors:

Test your connection to the horde endpoint with a successful response from the following command:

```
```sh
curl -X GET https://synthetics-horde.nr-data.net/synthetics/api/v1/ping
```
</td>
Expand Down
2 changes: 2 additions & 0 deletions src/nav/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ pages:
path: /docs/infrastructure/host-integrations/host-integrations-list/nvml-integration
- title: NVIDIA Triton integration
path: /docs/infrastructure/host-integrations/host-integrations-list/nvidia-triton-integration
- title: OCSF Integration
path: /docs/infrastructure/host-integrations/host-integrations-list/ocsf-integration
- title: Openstack Controller integration
path: /docs/infrastructure/host-integrations/host-integrations-list/openstack-controller-integration
- title: Oracle Database integration
Expand Down
Binary file not shown.

0 comments on commit 4bc5879

Please sign in to comment.