Skip to content

Commit

Permalink
update tests after updating ESreceiver metric names and types
Browse files Browse the repository at this point in the history
  • Loading branch information
davidji99 committed Aug 29, 2022
1 parent 5efb952 commit 7e0ae59
Show file tree
Hide file tree
Showing 6 changed files with 1,404 additions and 1,319 deletions.
2 changes: 1 addition & 1 deletion receiver/elasticsearchreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ These are the metrics available for this scraper.
| **elasticsearch.node.open_files** | The number of open file descriptors held by the node. | {files} | Sum(Int) | <ul> </ul> |
| **elasticsearch.node.operations.completed** | The number of operations completed. | {operations} | Sum(Int) | <ul> <li>operation</li> </ul> |
| **elasticsearch.node.operations.time** | Time spent on operations. | ms | Sum(Int) | <ul> <li>operation</li> </ul> |
| **elasticsearch.node.pipeline.ingest.documents.current** | Total number of documents currently being ingested by a pipeline. | {documents} | Gauge(Int) | <ul> <li>ingest_pipeline_name</li> </ul> |
| **elasticsearch.node.pipeline.ingest.documents.current** | Total number of documents currently being ingested by a pipeline. | {documents} | Sum(Int) | <ul> <li>ingest_pipeline_name</li> </ul> |
| **elasticsearch.node.pipeline.ingest.documents.preprocessed** | Number of documents preprocessed by the ingest pipeline. | {documents} | Sum(Int) | <ul> <li>ingest_pipeline_name</li> </ul> |
| **elasticsearch.node.pipeline.ingest.operations.failed** | Total number of failed operations for the ingest pipeline. | {operation} | Sum(Int) | <ul> <li>ingest_pipeline_name</li> </ul> |
| **elasticsearch.node.script.cache_evictions** | Total number of times the script cache has evicted old data. | 1 | Sum(Int) | <ul> </ul> |
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion receiver/elasticsearchreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,9 @@ metrics:
elasticsearch.node.pipeline.ingest.documents.current:
description: Total number of documents currently being ingested by a pipeline.
unit: "{documents}"
gauge:
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [ ingest_pipeline_name ]
enabled: true
Expand Down
Loading

0 comments on commit 7e0ae59

Please sign in to comment.