Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Elastic Agent] Set metric type #7033

Merged
merged 8 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/elastic_agent/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.10.1"
changes:
- description: Set metric type for all metric fields.
type: enhancement
link: https://github.com/elastic/integrations/pull/5618
- version: "1.10.0"
changes:
- description: Set dimension fields for metrics data streams APM Server, Auditbeat, Cloudbeat, Elastic Agent, Heartbeat, Filebeat, Metricbeat, Osquery and Packetbeat.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,49 @@
fields:
- name: acked
type: long
metric_type: counter
description: >
Number of events acknowledged

- name: active
type: long
metric_type: gauge
description: >
Number of active events

- name: batches
type: long
metric_type: counter
description: >
Number of event batches

- name: dropped
type: long
metric_type: counter
description: >
Number of events dropped

- name: duplicates
type: long
metric_type: counter
description: >
Number of events duplicated

- name: failed
type: long
metric_type: counter
description: >
Number of events failed

- name: toomany
type: long
metric_type: counter
description: >
Number of too many events

- name: total
type: long
metric_type: counter
description: >
Total number of events

Expand All @@ -71,11 +79,13 @@
fields:
- name: bytes
type: long
metric_type: counter
description: >
Number of bytes written

- name: errors
type: long
metric_type: counter
description: >
Number of write errors

Original file line number Diff line number Diff line change
Expand Up @@ -112,25 +112,30 @@
- name: cfs.period.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for how regularly a cgroup's access to CPU resources should be reallocated.
- name: cfs.quota.us
type: long
unit: micros
metric_type: gauge
description: |
Total amount of time in microseconds for which all tasks in a cgroup can run during one period (as defined by cfs.period.us).
- name: cfs.shares
type: long
metric_type: gauge
description: |
An integer value that specifies a relative share of CPU time available to the tasks in a cgroup. The value specified in the cpu.shares file must be 2 or higher.
- name: rt.period.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for how regularly a cgroup's access to CPU resources is reallocated.
- name: rt.runtime.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources.
- name: stats.periods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,49 @@
fields:
- name: acked
type: long
metric_type: counter
description: >
Number of events acknowledged

- name: active
type: long
metric_type: gauge
description: >
Number of active events

- name: batches
type: long
metric_type: counter
description: >
Number of event batches

- name: dropped
type: long
metric_type: counter
description: >
Number of events dropped

- name: duplicates
type: long
metric_type: counter
description: >
Number of events duplicated

- name: failed
type: long
metric_type: counter
description: >
Number of events failed

- name: toomany
type: long
metric_type: counter
description: >
Number of too many events

- name: total
type: long
metric_type: counter
description: >
Total number of events

Expand All @@ -71,11 +79,13 @@
fields:
- name: bytes
type: long
metric_type: counter
description: >
Number of bytes written

- name: errors
type: long
metric_type: counter
description: >
Number of write errors

Original file line number Diff line number Diff line change
Expand Up @@ -112,25 +112,30 @@
- name: cfs.period.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for how regularly a cgroup's access to CPU resources should be reallocated.
- name: cfs.quota.us
type: long
unit: micros
metric_type: gauge
description: |
Total amount of time in microseconds for which all tasks in a cgroup can run during one period (as defined by cfs.period.us).
- name: cfs.shares
type: long
metric_type: gauge
description: |
An integer value that specifies a relative share of CPU time available to the tasks in a cgroup. The value specified in the cpu.shares file must be 2 or higher.
- name: rt.period.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for how regularly a cgroup's access to CPU resources is reallocated.
- name: rt.runtime.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources.
- name: stats.periods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,49 @@
fields:
- name: acked
type: long
metric_type: counter
description: >
Number of events acknowledged

- name: active
type: long
metric_type: gauge
description: >
Number of active events

- name: batches
type: long
metric_type: counter
description: >
Number of event batches

- name: dropped
type: long
metric_type: counter
description: >
Number of events dropped

- name: duplicates
type: long
metric_type: counter
description: >
Number of events duplicated

- name: failed
type: long
metric_type: counter
description: >
Number of events failed

- name: toomany
type: long
metric_type: counter
description: >
Number of too many events

- name: total
type: long
metric_type: counter
description: >
Total number of events

Expand All @@ -71,11 +79,13 @@
fields:
- name: bytes
type: long
metric_type: counter
description: >
Number of bytes written

- name: errors
type: long
metric_type: counter
description: >
Number of write errors

Original file line number Diff line number Diff line change
Expand Up @@ -107,25 +107,30 @@
- name: cfs.period.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for how regularly a cgroup's access to CPU resources should be reallocated.
- name: cfs.quota.us
type: long
unit: micros
metric_type: gauge
description: |
Total amount of time in microseconds for which all tasks in a cgroup can run during one period (as defined by cfs.period.us).
- name: cfs.shares
type: long
metric_type: gauge
description: |
An integer value that specifies a relative share of CPU time available to the tasks in a cgroup. The value specified in the cpu.shares file must be 2 or higher.
- name: rt.period.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for how regularly a cgroup's access to CPU resources is reallocated.
- name: rt.runtime.us
type: long
unit: micros
metric_type: gauge
description: |
Period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources.
- name: stats.periods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,49 @@
fields:
- name: acked
type: long
metric_type: counter
description: >
Number of events acknowledged

- name: active
type: long
metric_type: gauge
description: >
Number of active events

- name: batches
type: long
metric_type: counter
description: >
Number of event batches

- name: dropped
type: long
metric_type: counter
description: >
Number of events dropped

- name: duplicates
type: long
metric_type: counter
description: >
Number of events duplicated

- name: failed
type: long
metric_type: counter
description: >
Number of events failed

- name: toomany
type: long
metric_type: counter
description: >
Number of too many events

- name: total
type: long
metric_type: counter
description: >
Total number of events

Expand All @@ -71,11 +79,13 @@
fields:
- name: bytes
type: long
metric_type: counter
description: >
Number of bytes written

- name: errors
type: long
metric_type: counter
description: >
Number of write errors

Loading