Skip to content

Commit

Permalink
Remove text_collector_examples/ (prometheus#1441)
Browse files Browse the repository at this point in the history
* Remove text_collector_examples/

These have been moved to https://github.com/prometheus-community/node-exporter-textfile-collector-scripts

This closes prometheus#1077

Signed-off-by: Johannes 'fish' Ziemke <[email protected]>
  • Loading branch information
discordianfish authored and SuperQ committed Aug 3, 2019
1 parent 0b710bb commit fc73586
Show file tree
Hide file tree
Showing 18 changed files with 2 additions and 1,768 deletions.
16 changes: 2 additions & 14 deletions text_collector_examples/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# Text collector example scripts

These scripts are examples to be used with the Node Exporter Textfile
Collector.

To use these scripts, we recommend using a `sponge` to atomically write the output.

<collector_script> | sponge <output_file>

Sponge comes from [moreutils](https://joeyh.name/code/moreutils/)
* [brew install moreutils](http://brewformulas.org/Moreutil)
* [apt install moreutils](https://packages.debian.org/search?keywords=moreutils)
* [pkg install moreutils](https://www.freshports.org/sysutils/moreutils/)

For more information see:
https://github.com/prometheus/node_exporter#textfile-collector
The scripts have been moved to
https://github.com/prometheus-community/node-exporter-textfile-collector-scripts
32 changes: 0 additions & 32 deletions text_collector_examples/apt.sh

This file was deleted.

112 changes: 0 additions & 112 deletions text_collector_examples/btrfs_stats.py

This file was deleted.

70 changes: 0 additions & 70 deletions text_collector_examples/deleted_libraries.py

This file was deleted.

15 changes: 0 additions & 15 deletions text_collector_examples/directory-size.sh

This file was deleted.

141 changes: 0 additions & 141 deletions text_collector_examples/inotify-instances

This file was deleted.

Loading

0 comments on commit fc73586

Please sign in to comment.