Skip to content

Commit

Permalink
Merge pull request #19763 from newrelic/daily-release-01-22-25-morning
Browse files Browse the repository at this point in the history
Daily release 01 22 25 morning
  • Loading branch information
adutta-newrelic authored Jan 22, 2025
2 parents 0f97d5b + 0144763 commit 7c10b9d
Show file tree
Hide file tree
Showing 20 changed files with 722 additions and 663 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To do so:

Use the following query to retrieve a list of your existing dashboards:

```
```graphql
{
actor {
entitySearch(queryBuilder: {type: DASHBOARD}) {
Expand All @@ -47,10 +47,10 @@ Use the following query to retrieve a list of your existing dashboards:

Use the following query to export, then extract the dashboard's entity information from the output:

```
```graphql
{
actor {
entity(guid: "your_guid_xxxxxxx") {
entity(guid: "YOUR_DASHBOARD_GUID") {
... on DashboardEntity {
name
permissions
Expand Down Expand Up @@ -81,9 +81,9 @@ Example entity information in GraphiQL output:

Use the following mutation to import the dashboard into another account:

```
```graphql
mutation create($dashboard: DashboardInput!) {
dashboardCreate(accountId: your_new_AccountID, dashboard: $dashboard) {
dashboardCreate(accountId: YOUR_NEW_ACCOUNT_ID, dashboard: $dashboard) {
entityResult {
guid
name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ Here's an example of how to create an account. Before creating an account, make

```graphql
mutation {
accountManagementCreateAccount(managedAccount: {name: "NEW_ACCOUNT_NAME"}) {
accountManagementCreateAccount(
managedAccount: {name: "NEW_ACCOUNT_NAME"}
) {
managedAccount {
id
name
Expand All @@ -75,7 +77,9 @@ If you have a complex account structure you may use the optional `regionCode` pa

```graphql
mutation {
accountManagementCreateAccount(managedAccount: {name: "NEW_ACCOUNT_NAME", regionCode: "eu01"}) {
accountManagementCreateAccount(
managedAccount: { name: "NEW_ACCOUNT_NAME", regionCode: "eu01" }
) {
managedAccount {
id
name
Expand All @@ -91,7 +95,9 @@ Here's an example of how to rename an account.

```graphql
mutation {
accountManagementUpdateAccount(managedAccount: {name: "UPDATED_ACCOUNT_NAME", id: 101010101}) {
accountManagementUpdateAccount(
managedAccount: { name: "UPDATED_ACCOUNT_NAME", id: 101010101 }
) {
managedAccount {
id
name
Expand Down Expand Up @@ -146,9 +152,10 @@ Here are some errors and what they mean:
<tbody>
<tr>
<td>
```"unauthorized", {
extensions: { nerdGraphExtensions: { errorClass: "ACCESS_DENIED" } }
}
```
"unauthorized", {
extensions: { nerdGraphExtensions: { errorClass: "ACCESS_DENIED" } }
}
```
</td>

Expand All @@ -160,9 +167,9 @@ Here are some errors and what they mean:
<tr>
<td>
```
cannot create subaccount -- multiple parent account ids found. Please use Partnership API.", {
extensions: { nerdGraphExtensions: { errorClass: "SERVER_ERROR" } }
}
"cannot create subaccount -- multiple parent account ids found. Please use Partnership API.", {
extensions: { nerdGraphExtensions: { errorClass: "SERVER_ERROR" } }
}
```
</td>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To do so:

Use the following query to retrieve a list of existing live chart URLs:

```
```graphql
{
actor {
dashboard {
Expand All @@ -48,9 +48,9 @@ Use the following query to retrieve a list of existing live chart URLs:

Use the following query to revoke the live chart URL you specify:

```
```graphql
mutation {
dashboardWidgetRevokeLiveUrl(uuid: "<enter-the-UUID-of-the-live-chart>") {
dashboardWidgetRevokeLiveUrl(uuid: "LIVE_CHART_UUID") {
uuid
errors {
description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,15 @@ mutation CreateExampleMobileApplication($accountId: Int!, $name: String!) {
name
}
}

```

Variables:

```JSON
```json
{
"accountId": Int!,
"name": String!
}

```

## Retrieving the application token [#get-mobile-token]
Expand All @@ -63,7 +61,7 @@ query FetchMobileApplicationToken($guid: EntityGuid!) {

Variables:

```JSON
```json
{
"guid": EntityGuid!
}
Expand All @@ -76,7 +74,10 @@ Here's an example mutation that changes the name of your mobile app in New Relic
Mutation:

```graphql
mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentApplicationSettingsUpdateInput) {
mutation UpdateMobileApplicationAlias(
$guid: EntityGuid!,
$settings: $AgentApplicationSettingsUpdateInput
) {
agentApplicationSettingsUpdate(guid: $guid, settings: $settings) {
alias
guid
Expand All @@ -91,7 +92,7 @@ mutation UpdateMobileApplicationAlias($guid: EntityGuid!, $settings: $AgentAppli

Variables:

```JSON
```json
{
"guid": EntityGuid!,
"settings": {
Expand All @@ -107,7 +108,10 @@ Here's an example of how to configure <InlinePopover type="mobile"/> settings vi
Mutation:

```graphql
mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplicationSettingsUpdateInput!) {
mutation UpdateMobileSettingsExample(
$guid: EntityGuid!
$settings: AgentApplicationSettingsUpdateInput!
) {
agentApplicationSettingsUpdate(guid: $guid, settings: $settings) {
guid
errors {
Expand Down Expand Up @@ -138,7 +142,7 @@ mutation UpdateMobileSettingsExample($guid: EntityGuid!, $settings: AgentApplica

Variables:

```JSON
```json
{
"guid": EntityGuid!,
"settings": {
Expand Down
Loading

0 comments on commit 7c10b9d

Please sign in to comment.