Skip to content

Commit

Permalink
add metrics_names_fingerprint field
Browse files Browse the repository at this point in the history
  • Loading branch information
gpop63 committed Jun 20, 2024
1 parent 9588aa1 commit c6ab41b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ processors:
description: Add all keys of the 'prometheus' object to the earlier created field, it includes all metric names and key "labels"
- fingerprint:
fields: ["prometheus.labels.metrics_names"]
target_field: "prometheus.labels_fingerprint"
target_field: "prometheus.metrics_names_fingerprint"
ignore_missing: true
- remove:
field: "prometheus.labels.metrics_names"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
dimension: true
description: |
Prometheus metric labels
- name: labels_fingerprint
- name: metrics_names_fingerprint
type: keyword
dimension: true
description: Autogenerated ID representing the fingerprint of the list of metrics names
Expand Down
2 changes: 1 addition & 1 deletion packages/prometheus/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ The fields reported are:
| prometheus.\*.rate | Prometheus rated counter metric | object | gauge |
| prometheus.\*.value | Prometheus gauge metric | object | gauge |
| prometheus.labels.\* | Prometheus metric labels | keyword | |
| prometheus.labels_fingerprint | Autogenerated ID representing the fingerprint of the list of metrics names | keyword | |
| prometheus.metrics.\* | Prometheus metric | object | gauge |
| prometheus.metrics_names_fingerprint | Autogenerated ID representing the fingerprint of the list of metrics names | keyword | |
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword | |
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword | |

Expand Down

0 comments on commit c6ab41b

Please sign in to comment.