Say Cheese! by Infopark
Scout-Plugin for watching the statistics of an elasticsearch snapshot.
- Copy the source
- Create a new private plugin in Scout-GUI
- Paste the code
Refer to https://scoutapp.com/info/creating_a_plugin
state_file
- (required) Path to the snapshot statistics file (seecreate_snapshot.rb
in infopark/elasticsearch_cookbooks)
shards_total
- How many shards have been snapshotted in total. This can be0
, if the reporting instance is not the master node.shards_successful
- How many shards have been snapshotted successfully. This can be0
, if the reporting instance is not the master node.shards_failed
- How many shards have been failed to snapshot.snapshot_started_minutes_ago
- How many minutes passed since the last snapshot.snapshot_duration_in_seconds
- How long the snapshot took in seconds.
$ bundle
$ bundle exec rspec
LGPG-3.0 License. Copyright 2014 Infopark AG. http://www.infopark.com