Skip to content

Commit

Permalink
Merge pull request #17460 from brnhensley/patch-20
Browse files Browse the repository at this point in the history
chore: add lang identifier
  • Loading branch information
rhetoric101 authored May 28, 2024
2 parents f277b3f + f4824a6 commit 4404319
Show file tree
Hide file tree
Showing 26 changed files with 352 additions and 342 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ For requirements, see [server-side config requirements](/docs/apm/agents/manage-

Here's an example query returning the status of the server side configuration setting for a given entity.

```
```graphql
query ExampleReadQuery {
actor {
entity(guid:"ZjY1ODgxfEFQTXxBUFBYSUNBVElPTnz0ODEwMTY3NzZ") {
Expand All @@ -39,9 +39,12 @@ query ExampleReadQuery {

Here's an example of disabling [server-side configuration](/docs/apm/agents/manage-apm-agents/configuration/server-side-agent-configuration). Note that `guid` uses an array, which may be helpful if you want to update multiple entities.

```
```graphql
mutation ExampleUpdateQuery {
agentApplicationSettingsUpdate(guid: "ZjY1ODgxfEFQTXxBUFBYSUNBVElPTnz0ODEwMTY3NzZ", settings: {apmConfig: {useServerSideConfig: false}}) {
agentApplicationSettingsUpdate(
guid: "ZjY1ODgxfEFQTXxBUFBYSUNBVElPTnz0ODEwMTY3NzZ"
settings: { apmConfig: { useServerSideConfig: false } }
) {
apmSettings {
apmConfig {
useServerSideConfig
Expand All @@ -62,11 +65,11 @@ For how to find an entity's GUID, see [Find entity data](/docs/new-relic-one/use

Here's an example of returning an entity's transaction tracer settings:

```
```graphql
query ExampleReadQuery {
actor {
entity(guid:"ZjY1ODgxfEFQTXxBUFBYSUNBVElPTnz0ODEwMTY3NzZ") {
... on ApmApplicationEntity {
... on ApmApplicationEntity {
guid
name
apmSettings {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Available data partition rule fields include:
<tbody>
<tr>
<td>
id
`id`
</td>

<td>
Expand All @@ -40,7 +40,7 @@ Available data partition rule fields include:

<tr>
<td>
targetDataPartition
`targetDataPartition`
</td>

<td>
Expand All @@ -50,7 +50,7 @@ Available data partition rule fields include:

<tr>
<td>
description
`description`
</td>

<td>
Expand All @@ -60,7 +60,7 @@ Available data partition rule fields include:

<tr>
<td>
matchingCriteria
`matchingCriteria`
</td>

<td>
Expand All @@ -71,7 +71,7 @@ Available data partition rule fields include:

<tr>
<td>
nrql
`nrql`
</td>

<td>
Expand All @@ -81,7 +81,7 @@ Available data partition rule fields include:

<tr>
<td>
retentionPolicy
`retentionPolicy`
</td>

<td>
Expand All @@ -91,7 +91,7 @@ Available data partition rule fields include:

<tr>
<td>
createdAt
`createdAt`
</td>

<td>
Expand All @@ -101,7 +101,7 @@ Available data partition rule fields include:

<tr>
<td>
createdBy
`createdBy`
</td>

<td>
Expand All @@ -111,7 +111,7 @@ Available data partition rule fields include:

<tr>
<td>
updatedAt
`updatedAt`
</td>

<td>
Expand All @@ -121,7 +121,7 @@ Available data partition rule fields include:

<tr>
<td>
updatedBy
`updatedBy`
</td>

<td>
Expand All @@ -131,7 +131,7 @@ Available data partition rule fields include:

<tr>
<td>
enabled
`enabled`
</td>

<td>
Expand All @@ -141,7 +141,7 @@ Available data partition rule fields include:

<tr>
<td>
deleted
`deleted`
</td>

<td>
Expand All @@ -156,7 +156,7 @@ Available data partition rule fields include:

This NerdGraph API request example gets all of the data partition rules for a given account. In this example, only a few fields are requested.

```
```graphql
{
actor {
account(id: 123456) {
Expand Down
Loading

0 comments on commit 4404319

Please sign in to comment.