Skip to content

Commit 1b09ac0

Browse files
committed
Cleanup
1 parent 5ef0e32 commit 1b09ac0

File tree

23 files changed

+213
-192
lines changed

23 files changed

+213
-192
lines changed

modules/broker/rabbitmq/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ Handles discovery of kubernetes targets and exports them, this component does no
1414

1515
#### Arguments
1616

17-
| Name | Required | Default | Description |
18-
| :----------- | :------- | :-------------------------------------------------------- | :-------------------------------------------------------------------------- |
19-
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20-
| `selectors` | _no_ | `["app.kubernetes.io/name=prometheus-rabbitmq-exporter"]` | The label selectors to use to find matching targets |
21-
| `port_name` | _no_ | `metrics` | The of the port to scrape metrics from |
17+
| Name | Required | Default | Description |
18+
| :---------------- | :------- | :-------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
19+
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20+
| `field_selectors` | _no_ | `[]` | The [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/) to use to find matching targets |
21+
| `label_selectors` | _no_ | `["app.kubernetes.io/name=prometheus-rabbitmq-exporter"]` | The [label selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to use to find matching targets |
22+
| `port_name` | _no_ | `metrics` | The of the port to scrape metrics from |
2223

2324
#### Exports
2425

modules/collector/agent/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ Handles discovery of kubernetes targets and exports them, this component does no
1414

1515
#### Arguments
1616

17-
| Name | Required | Default | Description |
18-
| :----------- | :------- | :----------------------------------------- | :-------------------------------------------------------------------------- |
19-
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20-
| `selectors` | _no_ | `["app.kubernetes.io/name=grafana-agent"]` | The label selectors to use to find matching targets |
21-
| `port_name` | _no_ | `http-metrics` | The of the port to scrape metrics from |
17+
| Name | Required | Default | Description |
18+
| :---------------- | :------- | :----------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
19+
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20+
| `field_selectors` | _no_ | `[]` | The [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/) to use to find matching targets |
21+
| `label_selectors` | _no_ | `["app.kubernetes.io/name=grafana-agent"]` | The [label selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to use to find matching targets |
22+
| `port_name` | _no_ | `http-metrics` | The of the port to scrape metrics from |
2223

2324
#### Exports
2425

modules/collector/push-gateway/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ Handles discovery of kubernetes targets and exports them, this component does no
1313

1414
#### Arguments
1515

16-
| Name | Required | Default | Description |
17-
| :----------- | :------- | :-------------------------------------------------- | :-------------------------------------------------------------------------- |
18-
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
19-
| `selectors` | _no_ | `["app.kubernetes.io/name=prometheus-pushgateway"]` | The label selectors to use to find matching targets |
20-
| `port_name` | _no_ | `http-metrics` | The of the port to scrape metrics from |
16+
| Name | Required | Default | Description |
17+
| :---------------- | :------- | :-------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
18+
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
19+
| `field_selectors` | _no_ | `[]` | The [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/) to use to find matching targets |
20+
| `label_selectors` | _no_ | `["app.kubernetes.io/name=prometheus-pushgateway"]` | The [label selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to use to find matching targets |
21+
| `port_name` | _no_ | `http-metrics` | The of the port to scrape metrics from |
2122

2223
#### Exports
2324

modules/databases/kv/etcd/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ Handles discovery of kubernetes targets and exports them, this component does no
1414

1515
#### Arguments
1616

17-
| Name | Required | Default | Description |
18-
| :----------- | :------- | :------------------------------------- | :-------------------------------------------------------------------------- |
19-
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20-
| `selectors` | _no_ | `["app.kubernetes.io/component=etcd"]` | The label selectors to use to find matching targets |
21-
| `port_name` | _no_ | `metrics` | The of the port to scrape metrics from |
17+
| Name | Required | Default | Description |
18+
| :---------------- | :------- | :------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
19+
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20+
| `field_selectors` | _no_ | `[]` | The [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/) to use to find matching targets |
21+
| `label_selectors` | _no_ | `["app.kubernetes.io/component=etcd"]` | The [label selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to use to find matching targets |
22+
| `port_name` | _no_ | `metrics` | The of the port to scrape metrics from |
2223

2324
#### Exports
2425

modules/databases/kv/memcached/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ Handles discovery of kubernetes targets and exports them, this component does no
1414

1515
#### Arguments
1616

17-
| Name | Required | Default | Description |
18-
| :----------- | :------- | :------------------------------------- | :-------------------------------------------------------------------------- |
19-
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20-
| `selectors` | _no_ | `["app.kubernetes.io/name=memcached"]` | The label selectors to use to find matching targets |
21-
| `port_name` | _no_ | `metrics` | The of the port to scrape metrics from |
17+
| Name | Required | Default | Description |
18+
| :---------------- | :------- | :------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
19+
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20+
| `field_selectors` | _no_ | `[]` | The [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/) to use to find matching targets |
21+
| `label_selectors` | _no_ | `["app.kubernetes.io/name=memcached"]` | The [label selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to use to find matching targets |
22+
| `port_name` | _no_ | `metrics` | The of the port to scrape metrics from |
2223

2324
#### Exports
2425

modules/databases/kv/redis/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ Handles discovery of kubernetes targets and exports them, this component does no
1414

1515
#### Arguments
1616

17-
| Name | Required | Default | Description |
18-
| :----------- | :------- | :----------------------------------------------------- | :-------------------------------------------------------------------------- |
19-
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20-
| `selectors` | _no_ | `["app.kubernetes.io/name=prometheus-redis-exporter"]` | The label selectors to use to find matching targets |
21-
| `port_name` | _no_ | `metrics` | The of the port to scrape metrics from |
17+
| Name | Required | Default | Description |
18+
| :---------------- | :------- | :----------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
19+
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20+
| `field_selectors` | _no_ | `[]` | The [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/) to use to find matching targets |
21+
| `label_selectors` | _no_ | `["app.kubernetes.io/name=prometheus-redis-exporter"]` | The [label selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to use to find matching targets |
22+
| `port_name` | _no_ | `metrics` | The of the port to scrape metrics from |
2223

2324
#### Exports
2425

modules/databases/sql/mysql/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ Handles discovery of kubernetes targets and exports them, this component does no
1414

1515
#### Arguments
1616

17-
| Name | Required | Default | Description |
18-
| :----------- | :------- | :----------------------------------------------------- | :-------------------------------------------------------------------------- |
19-
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20-
| `selectors` | _no_ | `["app.kubernetes.io/name=prometheus-mysql-exporter"]` | The label selectors to use to find matching targets |
21-
| `port_name` | _no_ | `http-metrics` | The of the port to scrape metrics from |
17+
| Name | Required | Default | Description |
18+
| :---------------- | :------- | :----------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
19+
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20+
| `field_selectors` | _no_ | `[]` | The [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/) to use to find matching targets |
21+
| `label_selectors` | _no_ | `["app.kubernetes.io/name=prometheus-mysql-exporter"]` | The [label selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to use to find matching targets |
22+
| `port_name` | _no_ | `http-metrics` | The of the port to scrape metrics from |
2223

2324
#### Exports
2425

modules/databases/sql/postgres/README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ Handles discovery of kubernetes targets and exports them, this component does no
1414

1515
#### Arguments
1616

17-
| Name | Required | Default | Description |
18-
| :----------- | :------- | :-------------------------------------------------------- | :-------------------------------------------------------------------------- |
19-
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20-
| `selectors` | _no_ | `["app.kubernetes.io/name=prometheus-postgres-exporter"]` | The label selectors to use to find matching targets |
21-
| `port_name` | _no_ | `http-metrics` | The of the port to scrape metrics from |
17+
| Name | Required | Default | Description |
18+
| :---------------- | :------- | :-------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- |
19+
| `namespaces` | _no_ | `[]` | The namespaces to look for targets in, the default (`[]`) is all namespaces |
20+
| `field_selectors` | _no_ | `[]` | The [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/) to use to find matching targets |
21+
| `label_selectors` | _no_ | `["app.kubernetes.io/name=prometheus-postgres-exporter"]` | The [label selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to use to find matching targets |
22+
| `port_name` | _no_ | `http-metrics` | The of the port to scrape metrics from |
2223

2324
#### Exports
2425

@@ -102,7 +103,7 @@ The following example will scrape all postgres instances in cluster.
102103
import.git "postgres" {
103104
repository = "https://github.com/grafana/flow-modules.git"
104105
revision = "main"
105-
path = "modules/databases/sql/postgres/metrics.alloy"
106+
path = "modules/databases/sql/postgres/metrics.river"
106107
pull_frequency = "15m"
107108
}
108109
@@ -138,7 +139,7 @@ The following example will scrape postgres for metrics on the local machine.
138139
import.git "postgres" {
139140
repository = "https://github.com/grafana/flow-modules.git"
140141
revision = "main"
141-
path = "modules/databases/sql/postgres/metrics.alloy"
142+
path = "modules/databases/sql/postgres/metrics.river"
142143
pull_frequency = "15m"
143144
}
144145

0 commit comments

Comments
 (0)