Created
July 18, 2016 07:53
-
-
Save pierot/f83bb8d5c46209a13779fefff0b303a9 to your computer and use it in GitHub Desktop.
Solr ansible datadog
This file contains hidden or 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
| - name: Datadog installation | |
| hosts: solr-test | |
| become: yes | |
| roles: | |
| - datadog | |
| vars: | |
| datadog_api_key: "XXXX" | |
| datadog_checks: | |
| solr: | |
| init_config: | |
| conf: | |
| - include: | |
| type: searcher | |
| attribute: | |
| maxDoc: | |
| alias: solr.searcher.maxdoc | |
| metric_type: gauge | |
| numDocs: | |
| alias: solr.searcher.numdocs | |
| metric_type: gauge | |
| warmupTime: | |
| alias: solr.searcher.warmup | |
| metric_type: gauge | |
| - include: | |
| id: org.apache.solr.search.FastLRUCache | |
| attribute: | |
| cumulative_lookups: | |
| alias: solr.cache.lookups | |
| metric_type: counter | |
| cumulative_hits: | |
| alias: solr.cache.hits | |
| metric_type: counter | |
| cumulative_inserts: | |
| alias: solr.cache.inserts | |
| metric_type: counter | |
| cumulative_evictions: | |
| alias: solr.cache.evictions | |
| metric_type: counter | |
| - include: | |
| id: org.apache.solr.search.LRUCache | |
| attribute: | |
| cumulative_lookups: | |
| alias: solr.cache.lookups | |
| metric_type: counter | |
| cumulative_hits: | |
| alias: solr.cache.hits | |
| metric_type: counter | |
| cumulative_inserts: | |
| alias: solr.cache.inserts | |
| metric_type: counter | |
| cumulative_evictions: | |
| alias: solr.cache.evictions | |
| metric_type: counter | |
| - include: | |
| id: org.apache.solr.handler.component.SearchHandler | |
| attribute: | |
| errors: | |
| alias: solr.search_handler.errors | |
| metric_type: counter | |
| requests: | |
| alias: solr.search_handler.requests | |
| metric_type: counter | |
| timeouts: | |
| alias: solr.search_handler.timeouts | |
| metric_type: counter | |
| totalTime: | |
| alias: solr.search_handler.time | |
| metric_type: counter | |
| avgTimePerRequest: | |
| alias: solr.search_handler.avg_time_per_req | |
| metric_type: gauge | |
| avgRequestsPerSecond: | |
| alias: solr.search_handler.avg_requests_per_sec | |
| metric_type: gauge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment