-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 在README文件中更新asciicast链接 - 更新“wait”和“startup_wait”配置选项的默认值 - 在“metric-checker”函数中添加“wait”配置选项 - 在“MetricFamiliesCheckerBuilder”结构中添加新方法`MetricValueChecker` - 实现`MetricValueChecker`类型以检查度量值 - 使用新网络和更新的环境变量更新docker-compose文件 - 使用更改的值和新度量指标更新配置文件 - 在`Runner`和`MetricChecker`结构中添加新字段和方法
- Loading branch information
Showing
7 changed files
with
76 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
exporter: | ||
compose_file: docker-compose-example.yml | ||
service: exporter | ||
startup_wait: 1s | ||
hooks: | ||
- name: echo | ||
setup: echo setup | ||
teardown: echo teardown | ||
wait: 3s | ||
path: /metrics | ||
allow_empty: false | ||
disallowed_metrics: | ||
- example_metric | ||
metrics: | ||
- name: pg_up | ||
type: gauge | ||
value: 1 | ||
- name: pg_exporter_scrapes_total | ||
type: counter | ||
disallowed_metrics: | ||
- not_exist | ||
- name: postgres_exporter_build_info | ||
- name: pg_database_size_bytes | ||
labels: | ||
- branch | ||
- goarch | ||
- goos | ||
- goversion | ||
- revision | ||
- version | ||
- tags | ||
- datname | ||
- name: go_gc_duration_seconds | ||
type: summary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters