You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced/configure-service-dependency-sync.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Configure service dependency sync
2
2
3
-
The PagerDuty plugin allows users, that use Backstage are their service catalog, to sync the dependencies automatically to the corresponding PagerDuty services.
3
+
The PagerDuty plugin allows users who use Backstage as their service catalog to sync the dependencies automatically to the corresponding PagerDuty services.
4
4
5
-
This feature is very powerfull for users that want to leverage [PagerDuty Status Pages](https://www.pagerduty.com/platform/business-ops/status-pages/) properly but are limited by the fact that they don't have service dependencies configured in PagerDuty. With this feature, the plugin will do this automatically for you.
5
+
This feature is very powerful for users that want to leverage [PagerDuty Status Pages](https://www.pagerduty.com/platform/business-ops/status-pages/) properly but are limited by the fact that they don't have service dependencies configured in PagerDuty. With this feature, the plugin will do this automatically for you.
6
6
7
7
!!! note
8
8
Only the Backstage entities that have corresponding services in PagerDuty will get their service dependencies mapped. This feature is powered by the `CatalogProcessor` and therefore if you make changes on your Backstage entity configuration they will, in time, be mapped to PagerDuty.
9
9
10
-
These changes might not reflect immediatelly because the `CatalogProcessor` runs on a schedule and the plugin doesn't have control over that. Backstage admins can configure the frequency in which the entities are processed.
10
+
These changes might not reflect immediately because the `CatalogProcessor` runs on a schedule and the plugin doesn't have control over that. Backstage admins can configure the frequency at which the entities are processed.
11
11
12
-
This feature is **disabled** by default but can easily be enabled on the PagerDuty advanced configuration page. If you haven't enabled it yet you can do so by following the instructions in [here](/backstage-plugin-docs/advanced/service-entity-mapping/#adding-the-pagerdutypage-component).
12
+
This feature is **disabled** by default but can easily be enabled on the PagerDuty advanced configuration page. If you haven't enabled it yet you can do so by following the instructions [here](/backstage-plugin-docs/advanced/service-entity-mapping/#adding-the-pagerdutypage-component).
The syncing mechanism will overwrite all services on the destination so use this mechanism carefully.
25
25
26
-
**Example:** You set Backstage as your main source and you already have service dependencies in PagerDuty. Those will be overwritten has Backstage is now configured as the source of thruth.
26
+
**Example:** You set Backstage as your main source and you already have service dependencies in PagerDuty. Those will be overwritten as Backstage is now configured as the source of truth.
1. This command adds `@pagerduty/backstage-plugin-scaffolder` package to the `packages/backend` folder because it is a backend module.
18
+
1. This command adds the `@pagerduty/backstage-plugin-scaffolder` package to the `packages/backend` folder because it is a backend module.
19
19
20
20
## Adding the custom action to the project
21
21
@@ -25,7 +25,7 @@ You can add the custom action to the project in two different ways. Using the **
25
25
26
26
Backstage Scaffolder capabilities can be extended with custom actions that support Software Templates. For that to happen you need to update `packages/backend/src/plugins/scaffolder.ts` and add custom actions.
27
27
28
-
Now, the list of scaffolder actions cannot be appended so you need re-create it and append your custom action. Otherwise all actions will be replaced just with yours.
28
+
Now, the list of scaffolder actions cannot be appended to, so you need to re-create it and append your custom action. Otherwise all actions will be replaced just with yours.
29
29
30
30
```typescript
31
31
@@ -71,11 +71,11 @@ export default async function createPlugin(
71
71
}
72
72
```
73
73
74
-
This step registers the custom action with the Scaffolder and allows it to be used in the Software template which you will configure on next step.
74
+
This step registers the custom action with the Scaffolder and allows it to be used in the Software template which you will configure in the next step.
75
75
76
76
### New backend system
77
77
78
-
Backstage's new backend system simplifies the configuration of backend plugins and requires less code to setup plugins. To add the PagerDuty scaffolder actions to your Backstage application add the following in `packages/backend/src/index.ts`.
78
+
Backstage's new backend system simplifies the configuration of backend plugins and requires less code to set up plugins. To add the PagerDuty scaffolder actions to your Backstage application add the following in `packages/backend/src/index.ts`.
Software Templates can be simple or complex depending on the practices you are trying to standardize across your teams. Here, we provide a simple example of a template that requests basic information for a Backstage service and augments that with information relevant for creating the service in PagerDuty.
87
87
88
88
!!! note
89
-
We assume you have an `examples/template/content` folder which is automatically create when you use `npx @backstage/create-app` to create your Backstage project.
89
+
We assume you have an `examples/template/content` folder which is automatically created when you use `npx @backstage/create-app` to create your Backstage project.
90
90
91
91
### Create project configuration file
92
92
93
-
In your `examples/template/content` folder you should create `catalog-info.yaml` file if you don't have one already. Update its content to something like this:
93
+
In your `examples/template/content` folder you should create `catalog-info.yaml` file if you don't have one already. Update its contents to something like this:
94
94
95
95
```yaml
96
96
apiVersion: backstage.io/v1alpha1
@@ -107,10 +107,10 @@ spec:
107
107
owner: guests
108
108
```
109
109
110
-
In the software template we will either replace the values for the `integration-key`, `service-id`, `account` and `name` or completely remove the parameters from the configuration.
110
+
In the software template, we will either replace the values for the `integration-key`, `service-id`, `account`, and `name`, or completely remove the parameters from the configuration.
111
111
112
112
!!! note
113
-
You don't need to use this exact template but to automate the configuration for the PagerDuty Card you need to have at least the `integration-key` or the `service-id` parameters.
113
+
You don't need to use this exact template but to automate the configuration for the PagerDuty Card, you need to have at least the `integration-key` or the `service-id` parameter.
114
114
115
115
### Create the Software Template
116
116
@@ -131,7 +131,7 @@ Once all the information is provided by the user we will:
131
131
!!! note
132
132
For the following template to work, you need to configure the `apiToken` in `app-config.yaml` file. If you haven't done so, follow the steps in [Configure Backend plugin API credentials](/backstage-plugin-docs/getting-started/backstage/#optional-configure-backend-plugin-api-credentials)
133
133
134
-
**Note:** If you don't setup this property in your configuration, the backend plugin will fail to start.
134
+
**Note:** If you don't set up this property in your configuration, the backend plugin will fail to start.
135
135
136
136
!!! note
137
137
The UI component that allows users to select the *Escalation Policy* when creating a new service in PagerDuty depends on an open source component. For the template to work properly please install it before.
@@ -154,7 +154,7 @@ Once all the information is provided by the user we will:
154
154
</ScaffolderFieldExtensions>
155
155
</Route>
156
156
```
157
-
Once all requirements are in-place, create a `template.yaml` file under `examples/template` and copy the following code in there.
157
+
Once all requirements are inplace, create a `template.yaml` file under `examples/template` and copy the following code into it.
158
158
159
159
```yaml
160
160
apiVersion: scaffolder.backstage.io/v1beta3
@@ -268,7 +268,7 @@ spec:
268
268
269
269
1. Open source dropdown component from `@roadiehq` that queries data from a local API
270
270
2. Options for the dropdown component
271
-
3. The local api exposed by the PagerDuty backend plugin that retrieves a list of key/value pairs
271
+
3. The local API exposed by the PagerDuty backend plugin that retrieves a list of key/value pairs
272
272
4. This UI field is optional. If you want to enforce a specific method you can just set the value in the backend component.
273
273
5. This parameter is optional. You can enforce a specific method by choosing 'intelligent', 'time' or 'content_based'. If not defined, no alert grouping will be configured.
Copy file name to clipboardExpand all lines: docs/advanced/hide-change-events.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# Hide change events
2
2
3
-
The PagerDuty plugin allows users to view the recent changes made to components integrated with their PagerDuty service. This feature is enabled by default but you can choose to disable it.
3
+
The PagerDuty plugin allows users to view the recent changes made to components integrated with their PagerDuty service. This feature is enabled by default, but you can choose to disable it.
In order to ingest __change events__ in PagerDuty you need to have an AIOps license. If you don't have one, or you are missing the necessary permissions, you will see the following error.
8
+
In order to ingest __change events__ in PagerDuty you need to have an AIOps license. If you don't have one or are missing the necessary permissions, you will see the following error.
Copy file name to clipboardExpand all lines: docs/advanced/hide-oncall.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Hide 'on-call' section
2
2
3
-
The PagerDuty plugin allows users to view who is currently on-call for the escalation policy assigned to the service. This feature is enabled by default but you can choose to completely hide it.
3
+
The PagerDuty plugin allows users to view who is currently on-call for the escalation policy assigned to the service. This feature is enabled by default, but you can choose to completely hide it.
Copy file name to clipboardExpand all lines: docs/advanced/homepage-component.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Create an homepage component
1
+
# Create a homepage component
2
2
3
3
The most common use case for the plugin is to have an instance of the plugin in each service. Still, you might want to have multiple instances of the plugin in your homepage to provide visibility on multiple services at the same time.
4
4
@@ -27,10 +27,10 @@ export const homePage = (
27
27
);
28
28
```
29
29
30
-
This component requires you to specify the `service-id` and `integration-key` properties which allows for added flexibility.
30
+
This component requires you to specify the `service-id` and `integration-key` properties which allow for added flexibility.
31
31
32
32
!!! note
33
-
We are aware that this scenario is not ideal as the homepage will be full of different components and will be difficult to navigate on and for that reason we are working on a component that provides an aggregated view on multiple services.
33
+
We are aware that this scenario is not ideal as the homepage will be full of different components and will be difficult to navigate, and for that reason, we are working on a component that provides an aggregated view of multiple services.
34
34
35
-
Until we release that capability this is the best option if you want to provide visibility on multiple services on the same page.
35
+
Until we release that capability, this is the best option if you want to provide visibility into multiple services on the same page.
Copy file name to clipboardExpand all lines: docs/advanced/service-entity-mapping.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Users of PagerDuty plugin for Backstage are typically customers of PagerDuty tha
4
4
5
5
This can of course be automated through the use of PagerDuty's APIs but it's still something that requires human effort and for some teams it is difficult to justify the investment.
6
6
7
-
For that reason we create a `PagerDutyPage` component that is intended to be the single place for advanced configurations related to this plugin.
7
+
For that reason, we created a `PagerDutyPage` component that is intended to be the single place for advanced configurations related to this plugin.
8
8
9
9
> At this point in time the `PagerDutyPage` only allows Admins to map existing PagerDuty services to Backstage entities. Other features will be released in the future.
10
10
@@ -92,11 +92,11 @@ Now, Backstage Admins will have the option to configure the mapping between Page
92
92
93
93
## Mapping services to entities
94
94
95
-
Once you navigate to the new `/pagerduty` route will see a page similar to the one below. On the table you will see a list of all your PagerDuty services, it's current mapping and the mapping status.
95
+
Once you navigate to the new `/pagerduty` route will see a page similar to the one below. On the table you will see a list of all your PagerDuty services, their current mapping, and the mapping status.
To define the mapping between existing PagerDuty services and Backstage entities you need to select the edit option on the right. Once you do so, a new modal screen will pop-up. Here, you can choose from a list of available Backstage entities that you want to map to the PagerDuty service.
99
+
To define the mapping between existing PagerDuty services and Backstage entities you need to select the edit option on the right. Once you do so, a new modal screen will popup. Here, you can choose from a list of available Backstage entities that you want to map to the PagerDuty service.
100
100
101
101
!!! warning
102
102
Currently we only support 1:1 mapping between PagerDuty services and Backstage entities due to a limitation on the `PagerDutyCard` that only supports one service at a time. There is work in progress to overcome this limitation.
@@ -113,7 +113,7 @@ Mappings defined on this page are not persisted to source code but instead kept
113
113
-**Out of Sync:** The configurations in the database and the configuration file do not match. In this occasion, the values from the database will take precedence as they are considered to be overrides.
114
114
-**Not Mapped:** The PagerDuty service is not mapped to any Backstage entity.
115
115
116
-
With this information the user can chose whether to manually persist the override to the source code and therefore ensure the configuration is in sync.
116
+
With this information, the user can choose whether to manually persist the override to the source code and, therefore, ensure the configuration is in sync.
117
117
118
118
!!! note
119
119
We are evaluating an option to automatically create a PR in the source repo for the Backstage entity to ease the process of ensuring that configurations are in sync. Still, this feature is not available yet.
0 commit comments