From a4ef74f8cdf03164cd306903486fea0b876d5a92 Mon Sep 17 00:00:00 2001
From: Brian Hensley <48165493+brnhensley@users.noreply.github.com>
Date: Wed, 18 Sep 2024 14:28:35 -0700
Subject: [PATCH 1/5] chore: format codeblock
---
...-db-document-db-monitoring-integration.mdx | 24 +++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/content/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-cosmos-db-document-db-monitoring-integration.mdx b/src/content/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-cosmos-db-document-db-monitoring-integration.mdx
index abca9c5cd34..a445e614895 100644
--- a/src/content/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-cosmos-db-document-db-monitoring-integration.mdx
+++ b/src/content/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-cosmos-db-document-db-monitoring-integration.mdx
@@ -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 **Services > Subscriptions**, select the subscription, go to **Access control (IAM)**, and then select
From fe18242ae07d8987b0c3b730b8fb7b89a16d192b Mon Sep 17 00:00:00 2001
From: Brian Hensley <48165493+brnhensley@users.noreply.github.com>
Date: Wed, 18 Sep 2024 14:30:49 -0700
Subject: [PATCH 2/5] chore: add language identifiers
---
.../azure-integrations-list/azure-monitor.mdx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/content/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-monitor.mdx b/src/content/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-monitor.mdx
index 7d9396ccb76..13db4f570d7 100644
--- a/src/content/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-monitor.mdx
+++ b/src/content/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-monitor.mdx
@@ -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
```
@@ -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'
From d080fc371ef002a38a67a810ae786dfaa1d1219b Mon Sep 17 00:00:00 2001
From: Brian Hensley <48165493+brnhensley@users.noreply.github.com>
Date: Wed, 18 Sep 2024 14:50:19 -0700
Subject: [PATCH 3/5] chore: add lang identifier
---
.../docs/codestream/observability/code-level-metrics.mdx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/content/docs/codestream/observability/code-level-metrics.mdx b/src/content/docs/codestream/observability/code-level-metrics.mdx
index e885f7d49a6..c1e904b36f3 100644
--- a/src/content/docs/codestream/observability/code-level-metrics.mdx
+++ b/src/content/docs/codestream/observability/code-level-metrics.mdx
@@ -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 = 'MXxBUE18QVBQTElDQVRJT058MjM' AND code.function IS NOT NULL
SINCE 30 minutes ago LIMIT MAX
```
From 2861785124808a813b67e72fc0a8a6c4e607a8b9 Mon Sep 17 00:00:00 2001
From: Brian Hensley <48165493+brnhensley@users.noreply.github.com>
Date: Wed, 18 Sep 2024 14:51:12 -0700
Subject: [PATCH 4/5] chore: remove dummy entity.guid
---
.../docs/codestream/observability/code-level-metrics.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/content/docs/codestream/observability/code-level-metrics.mdx b/src/content/docs/codestream/observability/code-level-metrics.mdx
index c1e904b36f3..b21568d05c9 100644
--- a/src/content/docs/codestream/observability/code-level-metrics.mdx
+++ b/src/content/docs/codestream/observability/code-level-metrics.mdx
@@ -35,7 +35,7 @@ Run the following NRQL query to identify where you might see CodeLenses with cod
```sql
SELECT * FROM Span
-WHERE entity.guid = 'MXxBUE18QVBQTElDQVRJT058MjM' AND code.function IS NOT NULL
+WHERE entity.guid = 'YOUR_ENTITY_GUID' AND code.function IS NOT NULL
SINCE 30 minutes ago LIMIT MAX
```
From 3942da74ce7989a3a7fca9fc3a5a2680129ae9b0 Mon Sep 17 00:00:00 2001
From: Brian Hensley <48165493+brnhensley@users.noreply.github.com>
Date: Wed, 18 Sep 2024 14:56:28 -0700
Subject: [PATCH 5/5] chore: add language identifier
---
...ations-overview-monitor-internal-sites-add-new-locations.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/content/docs/synthetics/synthetic-monitoring/private-locations/private-locations-overview-monitor-internal-sites-add-new-locations.mdx b/src/content/docs/synthetics/synthetic-monitoring/private-locations/private-locations-overview-monitor-internal-sites-add-new-locations.mdx
index 883b6f22114..d9bd0662a79 100644
--- a/src/content/docs/synthetics/synthetic-monitoring/private-locations/private-locations-overview-monitor-internal-sites-add-new-locations.mdx
+++ b/src/content/docs/synthetics/synthetic-monitoring/private-locations/private-locations-overview-monitor-internal-sites-add-new-locations.mdx
@@ -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
```