Skip to content

Commit d1fa243

Browse files
author
João Glória
authored
Merge pull request #16 from PagerDuty/fix/documentation-typos
fix: documentation typos
2 parents ac8f3fc + c763518 commit d1fa243

21 files changed

Lines changed: 85 additions & 85 deletions

docs/advanced/configure-api-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pagerDuty:
2121
```
2222

2323
!!! note
24-
**PagerDuty accounts based in Europe use a different URL** so you need to override it here if that is your case.
24+
**PagerDuty accounts based in Europe use a different URL** so you need to override it here if that applies to you.
2525

2626
- EU-based accounts: 'https://api.eu.pagerduty.com'
2727
- US-based accounts: 'https://api.pagerduty.com'

docs/advanced/configure-events-url.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ pagerDuty:
2121
```
2222

2323
!!! note
24-
**PagerDuty accounts based in Europe use a different URL** so you need to override it here if that is your case.
24+
**PagerDuty accounts based in Europe use a different URL** so you need to override it here if that applies to you.
2525

26-
The correct url can be found in the Backstage integration page for your service on the PagerDuty console.
26+
The correct URL can be found in the Backstage integration page for your service on the PagerDuty console.
2727

2828
![integration-events-api-url](../images/create-backstage-service-integration.png)

docs/advanced/configure-service-dependency-sync.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Configure service dependency sync
22

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.
44

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.
66

77
!!! note
88
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.
99

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.
1111

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).
1313

1414
![dependency-sync-strategy](../images/dependency-sync-strategy.png)
1515

@@ -23,4 +23,4 @@ Here you can choose:
2323
!!! note
2424
The syncing mechanism will overwrite all services on the destination so use this mechanism carefully.
2525

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.

docs/advanced/create-service-software-template.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ By doing so, it enables and configures the PagerDuty Card provided by the fronte
1515
yarn --cwd packages/backend add @pagerduty/backstage-plugin-scaffolder-actions # (1)!
1616
```
1717

18-
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.
1919

2020
## Adding the custom action to the project
2121

@@ -25,7 +25,7 @@ You can add the custom action to the project in two different ways. Using the **
2525

2626
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.
2727

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.
2929

3030
```typescript
3131

@@ -71,11 +71,11 @@ export default async function createPlugin(
7171
}
7272
```
7373

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.
7575

7676
### New backend system
7777

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`.
7979

8080
```typescript
8181
backend.add(import('@pagerduty/backstage-plugin-scaffolder-actions'));
@@ -86,11 +86,11 @@ backend.add(import('@pagerduty/backstage-plugin-scaffolder-actions'));
8686
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.
8787

8888
!!! 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.
9090

9191
### Create project configuration file
9292

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:
9494

9595
```yaml
9696
apiVersion: backstage.io/v1alpha1
@@ -107,10 +107,10 @@ spec:
107107
owner: guests
108108
```
109109
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.
111111

112112
!!! 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.
114114

115115
### Create the Software Template
116116

@@ -131,7 +131,7 @@ Once all the information is provided by the user we will:
131131
!!! note
132132
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)
133133

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.
135135

136136
!!! note
137137
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:
154154
</ScaffolderFieldExtensions>
155155
</Route>
156156
```
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 in place, create a `template.yaml` file under `examples/template` and copy the following code into it.
158158

159159
```yaml
160160
apiVersion: scaffolder.backstage.io/v1beta3
@@ -268,7 +268,7 @@ spec:
268268

269269
1. Open source dropdown component from `@roadiehq` that queries data from a local API
270270
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
272272
4. This UI field is optional. If you want to enforce a specific method you can just set the value in the backend component.
273273
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.
274274
**[Requires AIOps](https://www.pagerduty.com/platform/aiops/).**

docs/advanced/enable-read-only-mode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Enable read-only mode
22

3-
The PagerDuty plugin allows users to create incidents directly from Backstage. This feature is enabled by default but you can choose to disable it.
3+
The PagerDuty plugin allows users to create incidents directly from Backstage. This feature is enabled by default, but you can choose to disable it.
44

55
![create-incident-button](../images/create-incident-button.png)
66

77
## Component read-only mode
88

9-
To suppress the rendering of the actionable incident creation button, the `PagerDutyCard` can be instantiated in `readOnly` mode as shown below.
9+
To suppress the rendering of the actionable incident creation button, the `PagerDutyCard` can be instantiated in `readOnly` mode, as shown below.
1010

1111
```html
1212
<EntityPagerDutyCard readOnly>

docs/advanced/hide-change-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Hide change events
22

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.
44

55
![change-events-enabled](../images/change-events-enabled.png)
66

77
!!! note
8-
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.
99

1010
![aiops-license-missing](../images/change-events-forbidden.png)
1111

docs/advanced/hide-oncall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Hide 'on-call' section
22

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.
44

55
![on-call-engineer](../images/view-oncall-engineers.png)
66

docs/advanced/homepage-component.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Create an homepage component
1+
# Create a homepage component
22

33
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.
44

@@ -27,10 +27,10 @@ export const homePage = (
2727
);
2828
```
2929

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.
3131

3232
!!! 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.
3434

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.
3636

docs/advanced/service-entity-mapping.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Users of PagerDuty plugin for Backstage are typically customers of PagerDuty tha
44

55
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.
66

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.
88

99
> 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.
1010
@@ -92,11 +92,11 @@ Now, Backstage Admins will have the option to configure the mapping between Page
9292

9393
## Mapping services to entities
9494

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.
9696

9797
![service-entity-mapping](../images/service-entity-mapping.png)
9898

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 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 pop up. Here, you can choose from a list of available Backstage entities that you want to map to the PagerDuty service.
100100

101101
!!! warning
102102
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
113113
- **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.
114114
- **Not Mapped:** The PagerDuty service is not mapped to any Backstage entity.
115115

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.
117117

118118
!!! note
119119
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

Comments
 (0)