mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Merge branch 'master' into add-requirements-ci
This commit is contained in:
2
.github/workflows/telegraf.yml
vendored
2
.github/workflows/telegraf.yml
vendored
@ -66,4 +66,4 @@ jobs:
|
||||
MY_MOLECULE_IMAGE=${{ matrix.molecule_distro.image }}
|
||||
MY_MOLECULE_GROUP=${{ matrix.molecule_distro.group }}
|
||||
MY_MOLECULE_DOCKER_COMMAND=${{ matrix.molecule_distro.command }}
|
||||
molecule test
|
||||
molecule test
|
||||
|
@ -139,7 +139,7 @@ Version (Release date)
|
||||
* tagdrop
|
||||
* interval
|
||||
* Updated documentation
|
||||
|
||||
|
||||
|
||||
0.0.2 (2015-09-20)
|
||||
|
||||
|
@ -22,9 +22,9 @@ Please note that this project is released with a Contributor Code of Conduct. By
|
||||
2. Create a branch and apply your changes to this branch.
|
||||
|
||||
a. Make sure you have updated the documentation when adding new variables;
|
||||
|
||||
|
||||
b. Don't forget to add/update tests so we can test the functionality during each Pull Request;
|
||||
|
||||
|
||||
c. Make sure the tests will succeed.
|
||||
|
||||
3. Push the branch to your fork and submit a pull request.
|
||||
@ -85,4 +85,4 @@ Some web pages describing for virtual env:
|
||||
|
||||
[Molecule V2 with your own role](https://werner-dijkerman.nl/2017/09/05/using-molecule-v2-to-test-ansible-roles/)
|
||||
|
||||
**End note**: Have fun making changes. If a feature helps you, then others find it helpful too and I will happily have it merged.
|
||||
**End note**: Have fun making changes. If a feature helps you, then others find it helpful too and I will happily have it merged.
|
||||
|
10
README.md
10
README.md
@ -205,10 +205,8 @@ More information: [https://github.com/influxdata/telegraf/blob/master/docs/FAQ.m
|
||||
telegraf_plugins_default:
|
||||
- plugin: cpu
|
||||
config:
|
||||
- percpu = "true"
|
||||
- percpu = true
|
||||
- plugin: disk
|
||||
tags:
|
||||
- diskmetrics = "true"
|
||||
tagpass:
|
||||
- fstype = [ "ext4", "xfs" ]
|
||||
tagdrop:
|
||||
@ -298,12 +296,12 @@ An example might look like this:
|
||||
- fstype = [ "ext4", "xfs" ]
|
||||
- path = [ "/opt", "/home" ]
|
||||
|
||||
If you want to define processors you can simply use `telegraf_processors` variable.
|
||||
If you want to define processors you can simply use `telegraf_processors` variable.
|
||||
An example might look like this:
|
||||
```
|
||||
telegraf_processors:
|
||||
telegraf_processors:
|
||||
- processor: rename
|
||||
- processor: rename.replace
|
||||
- processor: rename.replace
|
||||
config:
|
||||
- tag = "level"
|
||||
- dest = "LogLevel"
|
||||
|
@ -209,4 +209,4 @@ case $1 in
|
||||
echo "Usage: $0 {start|stop|restart|status|version}"
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
@ -54,4 +54,4 @@
|
||||
{{ item }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user