Skip to content

Commit

Permalink
Merge branch 'develop' into translations-c5de8c15
Browse files Browse the repository at this point in the history
  • Loading branch information
akashreddy-nr authored Jan 21, 2025
2 parents 3d01c42 + 5e58679 commit c23bca3
Show file tree
Hide file tree
Showing 174 changed files with 1,212 additions and 1,032 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ To monitor your applications that reside in a Google App Engine flexible environ

## Infrastructure integration for Google App Engine [#gae-integration]

Our [infrastructure monitoring](/docs/infrastructure) offers an [integration](/docs/infrastructure/integrations-getting-started/getting-started/introduction-infrastructure-integrations) that reports data about your Google App Engine services. With the [Google App Engine integration](/docs/gcp-gcp_appengine-integration), you can view dashboards and alerts, query metric data, and explore inventory data.
Our [infrastructure monitoring](/docs/infrastructure) offers an [integration](/docs/infrastructure/introduction-infra-monitoring) that reports data about your Google App Engine services. With the [Google App Engine integration](/docs/gcp-gcp_appengine-integration), you can view dashboards and alerts, query metric data, and explore inventory data.
Original file line number Diff line number Diff line change
Expand Up @@ -39,140 +39,140 @@ Microsoft is retiring Microsoft 365 webhook-based Connectors service in Teams by
src="/images/alerts_workflow_payload.webp"
/>
3. On the <dnt>Edit notification message</dnt> screen, in the **Template** field, copy and paste the following payload:
```json
{
"type": "message",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"contentUrl": null,
"content": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"msteams": { "width": "full" },
"body": [
```json
{
"type": "message",
"attachments": [
{
"type": "ColumnSet",
"columns": [

{
"type": "Column",
"items": [
{
"type": "Image",
"style": "Person",
"url": "https://avatars.slack-edge.com/2022-06-02/3611814361970_f6a28959c2e7258660ea_512.png",
"size": "Small"
}
],
"width": "auto"
},

{
"type": "Column",
"items": [
"contentType": "application/vnd.microsoft.card.adaptive",
"contentUrl": null,
"content": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"msteams": { "width": "full" },
"body": [
{
"type": "ColumnSet",
"columns": [

{
"type": "TextBlock",
"size": "large",
"weight": "bolder",
"text": "{{ priorityText }} priority issue is {{#if issueClosedAt}}CLOSED{{else}}{{#if issueAcknowledgedAt}}ACKNOWLEDGED{{else}}ACTIVATED{{/if}}{{/if}}"
},
{
"type": "TextBlock",
"size": "large",
"wrap": "true",
"maxLines": "2",
"weight": "bolder",
"text": "[{{ issueTitle }}]({{ issuePageUrl }})"
}
],
"width": "stretch"
}
]
},
{{#if accumulations.conditionDescription.[0]}}
{
"type": "TextBlock",
"text": {{ json accumulations.conditionDescription.[0] }},
"wrap": true
},
{{/if}}
{{#eq "Not Available" violationChartUrl}}
{{else}}
{
"type": "Image",
"url": {{ json violationChartUrl }}
},
{{/eq}}
{
"type": "FactSet",
"facts": [
{
"title": "*Impacted entities:*",
"value": "{{#each entitiesData.names}}{{#lt @index 5}}{{this}}{{#unless @last}},{{/unless}}{{/lt}}{{/each}}"
},
{{#if accumulations.policyName }}
{
"title": "*Policy:*",
"value": {{ json accumulations.policyName.[0]}}
},
{{/if}}
{{#if accumulations.conditionName }}
{
"title": "*Condition:*",
"value": {{ json accumulations.conditionName.[0]}}
},
{{#eq impactedEntitiesCount 1}}
{{else}}
{
"title": "*Total Incidents:*",
"value": {{ json impactedEntitiesCount}}
},
{{/eq}}
{{/if}}
{
"title": "Workflow Name:",
"value": {{ json workflowName }}
}
]
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"title": "📥 Acknowledge",
"url": {{ json issueAckUrl }}
},
{
"type": "Action.OpenUrl",
"title": "✔️ Close",
"url": {{ json issueCloseUrl }}
}
{{#if accumulations.deepLinkUrl}}
,{
"type": "Action.OpenUrl",
"title": "🔎 View Query",
"url": {{ json accumulations.deepLinkUrl.[0] }},
"mode": "secondary"
}
{{/if}}
{{#if accumulations.runbookUrl}}
,{
"type": "Action.OpenUrl",
"title": "📕 View Runbook",
"url": {{ json accumulations.runbookUrl.[0] }},
"mode": "secondary"
}
{{/if}}
"type": "Column",
"items": [
{
"type": "Image",
"style": "Person",
"url": "https://avatars.slack-edge.com/2022-06-02/3611814361970_f6a28959c2e7258660ea_512.png",
"size": "Small"
}
],
"width": "auto"
},

{
"type": "Column",
"items": [
{
"type": "TextBlock",
"size": "large",
"weight": "bolder",
"text": "{{ priorityText }} priority issue is {{#if issueClosedAt}}CLOSED{{else}}{{#if issueAcknowledgedAt}}ACKNOWLEDGED{{else}}ACTIVATED{{/if}}{{/if}}"
},
{
"type": "TextBlock",
"size": "large",
"wrap": "true",
"maxLines": "2",
"weight": "bolder",
"text": "[{{ issueTitle }}]({{ issuePageUrl }})"
}
],
"width": "stretch"
}
]
},
{{#if accumulations.conditionDescription.[0]}}
{
"type": "TextBlock",
"text": {{ json accumulations.conditionDescription.[0] }},
"wrap": true
},
{{/if}}
{{#eq "Not Available" violationChartUrl}}
{{else}}
{
"type": "Image",
"url": {{ json violationChartUrl }}
},
{{/eq}}
{
"type": "FactSet",
"facts": [
{
"title": "*Impacted entities:*",
"value": "{{#each entitiesData.names}}{{#lt @index 5}}{{this}}{{#unless @last}},{{/unless}}{{/lt}}{{/each}}"
},
{{#if accumulations.policyName }}
{
"title": "*Policy:*",
"value": {{ json accumulations.policyName.[0]}}
},
{{/if}}
{{#if accumulations.conditionName }}
{
"title": "*Condition:*",
"value": {{ json accumulations.conditionName.[0]}}
},
{{#eq impactedEntitiesCount 1}}
{{else}}
{
"title": "*Total Incidents:*",
"value": {{ json impactedEntitiesCount}}
},
{{/eq}}
{{/if}}
{
"title": "Workflow Name:",
"value": {{ json workflowName }}
}
]
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"title": "📥 Acknowledge",
"url": {{ json issueAckUrl }}
},
{
"type": "Action.OpenUrl",
"title": "✔️ Close",
"url": {{ json issueCloseUrl }}
}
{{#if accumulations.deepLinkUrl}}
,{
"type": "Action.OpenUrl",
"title": "🔎 View Query",
"url": {{ json accumulations.deepLinkUrl.[0] }},
"mode": "secondary"
}
{{/if}}
{{#if accumulations.runbookUrl}}
,{
"type": "Action.OpenUrl",
"title": "📕 View Runbook",
"url": {{ json accumulations.runbookUrl.[0] }},
"mode": "secondary"
}
{{/if}}
]
}
]
}
}
]
}
}
]
}
```
```
4. Click **Save message**.

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
Loading

0 comments on commit c23bca3

Please sign in to comment.