Skip to content

Commit d307c3e

Browse files
yashmehrotramoshloop
authored andcommitted
chore: fix filename
1 parent 5e111c6 commit d307c3e

File tree

1 file changed

+6
-5
lines changed
  • mission-control/docs/guide/config-db/concepts

1 file changed

+6
-5
lines changed

mission-control/docs/guide/config-db/concepts/plugins.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ sidebar_custom_props:
44
icon: octicon:gear
55
---
66

7-
Scrape Plugins are resources that modify the behavior of other scrapers.
8-
They can transform changes, add properties to configs, and even set up relationships between configs.
7+
Scrape Plugins are resources that modify the behavior of other scrapers.
8+
They can transform changes, add properties to configs, and even set up relationships between configs.
99
These behaviors can also be defined on a ScrapeConfig, but using a scrape plugin makes them global, eliminating the need to define them in all scrapers.
1010

1111
For example, if you want to exclude all events with severity="info", a scrape plugin can help you achieve that.
1212

13-
```yaml title="plugin-change-exclusion.yaml" file=<rootDir>/modules/config-db/fixtures/plugin-change-exclusion.yaml
13+
```yaml title="plugin-change-exclusion.yaml" file=<rootDir>/modules/config-db/fixtures/plugins/exclude-info-changes.yaml
14+
1415
```
1516

1617
### Spec
@@ -46,7 +47,7 @@ For example, if you want to exclude all events with severity="info", a scrape pl
4647
When you encounter a diff change, unlike an event-based change, it can sometimes appear unclear. The summary of the change may not immediately indicate its purpose.
4748
For example, the change 'status.images' might not be self-explanatory. To clarify this, you can assign types to these diff changes using mapping.
4849

49-
```yaml title="plugin-change-mapping.yaml" file=<rootDir>/modules/config-db/fixtures/plugin-change-mapping.yaml
50+
```yaml title="plugin-change-mapping.yaml" file=<rootDir>/modules/config-db/fixtures/plugins/kubernetes-change-type-mapping.yaml
5051
```
5152

5253
<Fields
@@ -72,4 +73,4 @@ For example, the change 'status.images' might not be self-explanatory. To clarif
7273
scheme: 'gotemplate'
7374
}
7475
]}
75-
/>
76+
/>

0 commit comments

Comments
 (0)