-
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
92149e3
commit 2de4b39
Showing
4 changed files
with
213 additions
and
5 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,36 @@ | ||
# | ||
# Defines an 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.countMetricSuffix - suffix for count metrics (default: count) | ||
# settings.gaugeMetricSuffix - suffix for gauge metrics (default: gauge) | ||
# settings.histogramMetricSuffix - suffix for histogram metrics (default: histogram) | ||
# settings.host - ElasticSearch host settings | ||
# settings.host.protocol - protocol to use, http or https (default) | ||
# settings.host.name - host name | ||
# settings.host.port - port number (default 9200) | ||
# settings.index - ElasticSearch index settings | ||
# settings.index.name - index name | ||
# | ||
# If not overridden, the following suffixes are used by default: | ||
# countMetricSuffix: count | ||
# gaugeMetricSuffix: gauge | ||
# histogramMetricSuffix: histogram | ||
|
||
global: | ||
metrics: | ||
sinks: | ||
- type: elastic | ||
name: myelasticsink | ||
settings: | ||
countMetricSuffix: count | ||
gaugeMetricSuffix: gauge | ||
histogramMetricSuffix: histogram | ||
host: | ||
protocol: https | ||
name: hostname | ||
port: 9200 | ||
index: | ||
name: hpccmetrics | ||
|
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