Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: format codeblock #18705

Merged
merged 5 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 @@ -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
Loading