-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19247 from kenrowland/HPCC-32734
HPCC-32734 Add ElasticSearch metric sink configuration Reviewed-By: Rodrigo Pastrana <rodrigo.pastrana@lexisnexisrisk.com> Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com> Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
- Loading branch information
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