-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HPCC-32734 Add ElasticSearch metric sink configuration
Added configuration options for the ElasticSearch sink Updated metrics readme with information on adding the sink to the cluster Added example ElasticSearch configuraion yaml file Signed-Off-By: Kenneth Rowland [email protected]
- Loading branch information
1 parent
50635e7
commit 015cf20
Showing
4 changed files
with
150 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# Defines a elastic sink for reporting metrics to an ElasticSearch instance | ||
# Settings: | ||
# type - sink type (must be elastic for ElasticSearch support) | ||
# name - name for the sink instance | ||
# settings.elasticHost - url for the ElasticSearch instance | ||
# settings.indexName - ElasticSearch index name where metrics are indexed | ||
# settings.countMetricSuffix - suffix for count metrics | ||
# settings.gaugeMetricSuffix - suffix for gauge metrics | ||
# settings.histogramMetricSuffix - suffix for histogram metrics | ||
# | ||
# If not overridden, the following suffixes are used by default: | ||
# countMetricSuffix: count | ||
# gaugeMetricSuffix: gauge | ||
# histogramMetricSuffix: histogram | ||
|
||
global: | ||
metrics: | ||
sinks: | ||
- type: elastic | ||
name: elasticsink | ||
settings: | ||
elasticHost: http://localhost:9200, | ||
indexName: hpccmetrics, | ||
countMetricSuffix: count, | ||
gaugeMetricSuffix: gauge, | ||
histogramMetricSuffix: histogram |
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