diff --git a/packages/beat/changelog.yml b/packages/beat/changelog.yml index fa753a6749e..2a033e1b53d 100644 --- a/packages/beat/changelog.yml +++ b/packages/beat/changelog.yml @@ -1,3 +1,8 @@ +- version: 0.1.1 + changes: + - description: Update mappings for APM Server aggregation metrics + type: bugfix + link: https://github.com/elastic/integrations/pull/5509 - version: 0.1.0 changes: - description: Add `ssl` configuration option for metricsets diff --git a/packages/beat/data_stream/stats/fields/fields.yml b/packages/beat/data_stream/stats/fields/fields.yml index 0a3fe392ead..e02b1cab057 100644 --- a/packages/beat/data_stream/stats/fields/fields.yml +++ b/packages/beat/data_stream/stats/fields/fields.yml @@ -483,7 +483,46 @@ - name: active_groups type: long - name: overflowed + type: group + fields: + - name: total + type: long + - name: txn_groups + type: long + - name: per_service_txn_groups + type: long + - name: services + type: long + - name: servicetxmetrics + type: group + fields: + - name: active_groups type: long + - name: overflowed + type: group + fields: + - name: total + type: long + - name: servicesummarymetrics + type: group + fields: + - name: active_groups + type: long + - name: overflowed + type: group + fields: + - name: total + type: long + - name: spanmetrics + type: group + fields: + - name: active_groups + type: long + - name: overflowed + type: group + fields: + - name: total + type: long - name: agentcfg type: group fields: diff --git a/packages/beat/data_stream/stats/sample_event.json b/packages/beat/data_stream/stats/sample_event.json index b08b1416650..eb688781698 100644 --- a/packages/beat/data_stream/stats/sample_event.json +++ b/packages/beat/data_stream/stats/sample_event.json @@ -1,230 +1,577 @@ { - "@timestamp": "2022-11-23T17:09:28.634Z", "agent": { - "ephemeral_id": "552bd946-18b1-44bd-9cab-f6baa2dffe3d", - "id": "de291921-7d38-4a60-89ca-cb6080ca6aa7", "name": "docker-fleet-agent", + "id": "67d0c20f-d474-43b0-8977-a0e99cc78ec6", "type": "metricbeat", - "version": "8.5.0" + "ephemeral_id": "11e58ae8-8629-4a35-962b-3970fbd154f3", + "version": "8.7.0" + }, + "@timestamp": "2023-03-16T14:27:28.408Z", + "ecs": { + "version": "8.0.0" + }, + "data_stream": { + "namespace": "default", + "type": "metrics", + "dataset": "beats.stack_monitoring.stats" + }, + "service": { + "address": "http://elastic-package-service_beat_1:5066/stats", + "name": "beat", + "type": "beat" }, "beat": { "elasticsearch": { "cluster": { - "id": "TtFsAyBvS-GP8YnmKAaCgg" + "id": "RMRLbVsRQFGRM5p2cu3rLw" } }, - "id": "ffcdfb5e-178d-4e2e-a466-16fa4d6c0933", "stats": { - "beat": { - "host": "c1a3fc7d1437", - "name": "c1a3fc7d1437", - "type": "metricbeat", - "uuid": "ffcdfb5e-178d-4e2e-a466-16fa4d6c0933", - "version": "8.5.0" + "handles": { + "limit": { + "hard": 1048576, + "soft": 1048576 + }, + "open": 16 }, - "cgroup": { - "cpu": { - "cfs": { - "period": { - "us": 100000 + "apm_server": { + "server": { + "request": { + "count": 173 + }, + "response": { + "valid": { + "notmodified": 0, + "count": 173, + "accepted": 173, + "ok": 0 }, - "quota": { - "us": 0 + "count": 173, + "errors": { + "ratelimit": 0, + "internal": 0, + "toolarge": 0, + "method": 0, + "unavailable": 0, + "forbidden": 0, + "count": 0, + "decode": 0, + "timeout": 0, + "unauthorized": 0, + "notfound": 0, + "closed": 0, + "invalidquery": 0, + "queue": 0, + "validate": 0 } }, - "id": "/", - "stats": { - "periods": 0, - "throttled": { - "ns": 0, - "periods": 0 + "unset": 0 + }, + "profiling": { + "ilm": { + "custom_ilm": { + "skipped_for_time_constraints": { + "count": 0 + }, + "execution": { + "count": 0 + }, + "failed": { + "count": 0 + }, + "undeleted_index": { + "count": 0 + } + } + }, + "indexer": { + "document": { + "stacktraces": { + "total": { + "count": 0 + }, + "failure": { + "count": 0 + }, + "duplicate": { + "count": 0 + } + }, + "executables": { + "total": { + "count": 0 + }, + "failure": { + "count": 0 + } + }, + "stackframes": { + "total": { + "count": 0 + }, + "failure": { + "count": 0 + }, + "duplicate": { + "count": 0 + } + }, + "events": { + "total": { + "count": 0 + }, + "failure": { + "count": 0 + } + } + } + }, + "unrecoverable_error": { + "count": 0 + }, + "grpc": { + "collect": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } } } }, - "cpuacct": { - "id": "/", - "total": { - "ns": 406604151 + "sampling": { + "transactions_dropped": 0 + }, + "root": { + "request": { + "count": 1 + }, + "response": { + "valid": { + "notmodified": 0, + "count": 1, + "accepted": 0, + "ok": 1 + }, + "count": 1, + "errors": { + "ratelimit": 0, + "toolarge": 0, + "internal": 0, + "method": 0, + "unavailable": 0, + "forbidden": 0, + "count": 0, + "decode": 0, + "timeout": 0, + "unauthorized": 0, + "notfound": 0, + "closed": 0, + "invalidquery": 0, + "queue": 0, + "validate": 0 + } + }, + "unset": 0 + }, + "acm": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "notmodified": 0, + "count": 0, + "accepted": 0, + "ok": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "internal": 0, + "toolarge": 0, + "method": 0, + "unavailable": 0, + "forbidden": 0, + "count": 0, + "decode": 0, + "timeout": 0, + "unauthorized": 0, + "notfound": 0, + "closed": 0, + "invalidquery": 0, + "queue": 0, + "validate": 0 + } + }, + "unset": 0 + }, + "aggregation": { + "txmetrics": { + "active_groups": 1, + "overflowed": { + "total": 0, + "txn_groups": 0, + "per_service_txn_groups": 0, + "services": 0 + } + }, + "servicetxmetrics": { + "overflowed.total": 0, + "active_groups": 0 + }, + "servicesummarymetrics": { + "overflowed.total": 0, + "active_groups": 0 + }, + "spanmetrics": { + "active_groups": 0, + "overflowed.total": 0 } }, - "memory": { - "id": "/", - "mem": { - "limit": { - "bytes": 9223372036854772000 + "otlp": { + "http": { + "traces": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } }, - "usage": { - "bytes": 40849408 + "metrics": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + }, + "consumer": { + "unsupported_dropped": 0 + } + }, + "logs": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } + } + }, + "grpc": { + "traces": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } + }, + "metrics": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + }, + "consumer": { + "unsupported_dropped": 0 + } + }, + "logs": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } + } + } + }, + "processor": { + "metric": { + "transformations": 178 + }, + "stream": { + "accepted": 692, + "errors": { + "toolarge": 0, + "invalid": 0 + } + }, + "error": { + "transformations": 173 + }, + "transaction": { + "transformations": 173 + }, + "span": { + "transformations": 173 + } + }, + "agentcfg": { + "elasticsearch": { + "fetch.es": 0, + "cache.refresh.failures": 3, + "fetch.unavailable": 0, + "fetch.invalid": 0, + "fetch.fallback": 0, + "cache.entries.count": 0, + "cache.refresh.successes": 0 + } + }, + "jaeger": { + "grpc": { + "sampling": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "count": 0 + } + }, + "event": { + "received": { + "count": 0 + } + } + }, + "collect": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } } } } }, - "cpu": { - "system": { - "ticks": 130, - "time": { - "ms": 130 + "system": { + "load": { + "1": 0.59, + "5": 0.48, + "15": 0.48, + "norm": { + "1": 0.0738, + "5": 0.06, + "15": 0.06 } }, + "cpu": { + "cores": 8 + } + }, + "beat": { + "name": "893a3c04ecfe", + "host": "893a3c04ecfe", + "type": "apm-server", + "uuid": "5ad4fb6a-0ab1-42e2-a2fe-db955257649f", + "version": "8.7.0" + }, + "cpu": { "total": { - "ticks": 360, + "ticks": 960, "time": { - "ms": 360 + "ms": 960 }, - "value": 360 + "value": 960 + }, + "system": { + "ticks": 370, + "time": { + "ms": 370 + } }, "user": { - "ticks": 230, + "ticks": 590, "time": { - "ms": 230 + "ms": 590 } } }, - "handles": { - "limit": { - "hard": 1048576, - "soft": 1048576 - }, - "open": 15 + "runtime": { + "goroutines": 55 }, - "info": { - "ephemeral_id": "3dc76b1b-a3bf-4354-b038-5b6092bcc559", - "name": "metricbeat", - "uptime": { - "ms": 13839 + "memstats": { + "rss": 122343424, + "memory": { + "total": 311294872, + "alloc": 299154104 }, - "version": "8.5.0" + "gc_next": 484823864 }, "libbeat": { - "config": { - "reloads": 0, - "running": 0, - "starts": 0, - "stops": 0 - }, "output": { - "events": { - "acked": 2, - "active": 0, - "batches": 2, - "dropped": 0, - "duplicates": 0, - "failed": 0, - "toomany": 0, - "total": 2 - }, - "read": { - "bytes": 4340, - "errors": 0 - }, "type": "elasticsearch", "write": { - "bytes": 4658, - "errors": 0 + "bytes": 0 + }, + "events": { + "batches": 0, + "total": 697, + "toomany": 0, + "active": 697, + "failed": 0, + "acked": 0 } }, "pipeline": { - "clients": 2, "events": { - "active": 1, - "dropped": 0, - "failed": 0, - "filtered": 0, - "published": 3, - "retry": 1, - "total": 3 - }, - "queue": { - "acked": 2 + "total": 697 } } }, - "memstats": { - "gc_next": 23947368, + "cgroup": { "memory": { - "alloc": 18478576, - "total": 38256424 + "mem": { + "usage": { + "bytes": 94502912 + } + }, + "id": "/" }, - "rss": 142700544 - }, - "runtime": { - "goroutines": 32 - }, - "state": { - "events": 1, - "failures": 0, - "success": 1 - }, - "system": { "cpu": { - "cores": 10 - }, - "load": { - "1": 2.36, - "15": 1.51, - "5": 1.82, - "norm": { - "1": 0.236, - "15": 0.151, - "5": 0.182 - } + "stats": { + "periods": 0, + "throttled": { + "ns": 0, + "periods": 0 + } + }, + "id": "/" + } + }, + "info": { + "name": "apm-server", + "ephemeral_id": "ff280956-08d9-42df-a300-2ae04beed234", + "version": "8.7.0", + "uptime": { + "ms": 84247 } }, "uptime": { - "ms": 13839 + "ms": 84247 } }, - "type": "metricbeat" - }, - "data_stream": { - "dataset": "beats.stack_monitoring.stats", - "namespace": "ep", - "type": "metrics" - }, - "ecs": { - "version": "8.0.0" - }, - "elastic_agent": { - "id": "de291921-7d38-4a60-89ca-cb6080ca6aa7", - "snapshot": false, - "version": "8.5.0" - }, - "event": { - "agent_id_status": "verified", - "dataset": "beats.stack_monitoring.stats", - "duration": 6892400, - "ingested": "2022-11-23T17:09:29Z", - "module": "beat" + "id": "5ad4fb6a-0ab1-42e2-a2fe-db955257649f", + "type": "apm-server" }, "host": { - "architecture": "x86_64", - "containerized": true, "hostname": "docker-fleet-agent", - "id": "66392b0697b84641af8006d87aeb89f1", - "ip": [ - "192.168.192.7" - ], - "mac": [ - "02-42-C0-A8-C0-07" - ], - "name": "docker-fleet-agent", "os": { + "kernel": "5.10.104-linuxkit", "codename": "focal", - "family": "debian", - "kernel": "5.10.47-linuxkit", "name": "Ubuntu", - "platform": "ubuntu", + "family": "debian", "type": "linux", - "version": "20.04.5 LTS (Focal Fossa)" - } + "version": "20.04.5 LTS (Focal Fossa)", + "platform": "ubuntu" + }, + "ip": [ + "172.24.0.7" + ], + "containerized": false, + "name": "docker-fleet-agent", + "id": "0d9a72390807443bbe4884110c6a0495", + "mac": [ + "02-42-AC-18-00-07" + ], + "architecture": "x86_64" + }, + "elastic_agent": { + "id": "67d0c20f-d474-43b0-8977-a0e99cc78ec6", + "version": "8.7.0", + "snapshot": true }, "metricset": { - "name": "stats", - "period": 10000 + "period": 10000, + "name": "stats" }, - "service": { - "address": "http://elastic-package-service_beat_1:5066/stats", - "name": "beat", - "type": "beat" + "event": { + "duration": 5179163, + "agent_id_status": "verified", + "ingested": "2023-03-16T14:27:29Z", + "module": "beat", + "dataset": "beats.stack_monitoring.stats" } } \ No newline at end of file diff --git a/packages/beat/docs/README.md b/packages/beat/docs/README.md index edc0daa367f..d0bf9ff427f 100644 --- a/packages/beat/docs/README.md +++ b/packages/beat/docs/README.md @@ -15,233 +15,580 @@ An example event for `stats` looks as following: ```json { - "@timestamp": "2022-11-23T17:09:28.634Z", "agent": { - "ephemeral_id": "552bd946-18b1-44bd-9cab-f6baa2dffe3d", - "id": "de291921-7d38-4a60-89ca-cb6080ca6aa7", "name": "docker-fleet-agent", + "id": "67d0c20f-d474-43b0-8977-a0e99cc78ec6", "type": "metricbeat", - "version": "8.5.0" + "ephemeral_id": "11e58ae8-8629-4a35-962b-3970fbd154f3", + "version": "8.7.0" + }, + "@timestamp": "2023-03-16T14:27:28.408Z", + "ecs": { + "version": "8.0.0" + }, + "data_stream": { + "namespace": "default", + "type": "metrics", + "dataset": "beats.stack_monitoring.stats" + }, + "service": { + "address": "http://elastic-package-service_beat_1:5066/stats", + "name": "beat", + "type": "beat" }, "beat": { "elasticsearch": { "cluster": { - "id": "TtFsAyBvS-GP8YnmKAaCgg" + "id": "RMRLbVsRQFGRM5p2cu3rLw" } }, - "id": "ffcdfb5e-178d-4e2e-a466-16fa4d6c0933", "stats": { - "beat": { - "host": "c1a3fc7d1437", - "name": "c1a3fc7d1437", - "type": "metricbeat", - "uuid": "ffcdfb5e-178d-4e2e-a466-16fa4d6c0933", - "version": "8.5.0" + "handles": { + "limit": { + "hard": 1048576, + "soft": 1048576 + }, + "open": 16 }, - "cgroup": { - "cpu": { - "cfs": { - "period": { - "us": 100000 + "apm_server": { + "server": { + "request": { + "count": 173 + }, + "response": { + "valid": { + "notmodified": 0, + "count": 173, + "accepted": 173, + "ok": 0 }, - "quota": { - "us": 0 + "count": 173, + "errors": { + "ratelimit": 0, + "internal": 0, + "toolarge": 0, + "method": 0, + "unavailable": 0, + "forbidden": 0, + "count": 0, + "decode": 0, + "timeout": 0, + "unauthorized": 0, + "notfound": 0, + "closed": 0, + "invalidquery": 0, + "queue": 0, + "validate": 0 } }, - "id": "/", - "stats": { - "periods": 0, - "throttled": { - "ns": 0, - "periods": 0 + "unset": 0 + }, + "profiling": { + "ilm": { + "custom_ilm": { + "skipped_for_time_constraints": { + "count": 0 + }, + "execution": { + "count": 0 + }, + "failed": { + "count": 0 + }, + "undeleted_index": { + "count": 0 + } + } + }, + "indexer": { + "document": { + "stacktraces": { + "total": { + "count": 0 + }, + "failure": { + "count": 0 + }, + "duplicate": { + "count": 0 + } + }, + "executables": { + "total": { + "count": 0 + }, + "failure": { + "count": 0 + } + }, + "stackframes": { + "total": { + "count": 0 + }, + "failure": { + "count": 0 + }, + "duplicate": { + "count": 0 + } + }, + "events": { + "total": { + "count": 0 + }, + "failure": { + "count": 0 + } + } + } + }, + "unrecoverable_error": { + "count": 0 + }, + "grpc": { + "collect": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } } } }, - "cpuacct": { - "id": "/", - "total": { - "ns": 406604151 + "sampling": { + "transactions_dropped": 0 + }, + "root": { + "request": { + "count": 1 + }, + "response": { + "valid": { + "notmodified": 0, + "count": 1, + "accepted": 0, + "ok": 1 + }, + "count": 1, + "errors": { + "ratelimit": 0, + "toolarge": 0, + "internal": 0, + "method": 0, + "unavailable": 0, + "forbidden": 0, + "count": 0, + "decode": 0, + "timeout": 0, + "unauthorized": 0, + "notfound": 0, + "closed": 0, + "invalidquery": 0, + "queue": 0, + "validate": 0 + } + }, + "unset": 0 + }, + "acm": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "notmodified": 0, + "count": 0, + "accepted": 0, + "ok": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "internal": 0, + "toolarge": 0, + "method": 0, + "unavailable": 0, + "forbidden": 0, + "count": 0, + "decode": 0, + "timeout": 0, + "unauthorized": 0, + "notfound": 0, + "closed": 0, + "invalidquery": 0, + "queue": 0, + "validate": 0 + } + }, + "unset": 0 + }, + "aggregation": { + "txmetrics": { + "active_groups": 1, + "overflowed": { + "total": 0, + "txn_groups": 0, + "per_service_txn_groups": 0, + "services": 0 + } + }, + "servicetxmetrics": { + "overflowed.total": 0, + "active_groups": 0 + }, + "servicesummarymetrics": { + "overflowed.total": 0, + "active_groups": 0 + }, + "spanmetrics": { + "active_groups": 0, + "overflowed.total": 0 } }, - "memory": { - "id": "/", - "mem": { - "limit": { - "bytes": 9223372036854772000 + "otlp": { + "http": { + "traces": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } }, - "usage": { - "bytes": 40849408 + "metrics": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + }, + "consumer": { + "unsupported_dropped": 0 + } + }, + "logs": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } + } + }, + "grpc": { + "traces": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } + }, + "metrics": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + }, + "consumer": { + "unsupported_dropped": 0 + } + }, + "logs": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } + } + } + }, + "processor": { + "metric": { + "transformations": 178 + }, + "stream": { + "accepted": 692, + "errors": { + "toolarge": 0, + "invalid": 0 + } + }, + "error": { + "transformations": 173 + }, + "transaction": { + "transformations": 173 + }, + "span": { + "transformations": 173 + } + }, + "agentcfg": { + "elasticsearch": { + "fetch.es": 0, + "cache.refresh.failures": 3, + "fetch.unavailable": 0, + "fetch.invalid": 0, + "fetch.fallback": 0, + "cache.entries.count": 0, + "cache.refresh.successes": 0 + } + }, + "jaeger": { + "grpc": { + "sampling": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "count": 0 + } + }, + "event": { + "received": { + "count": 0 + } + } + }, + "collect": { + "request": { + "count": 0 + }, + "response": { + "valid": { + "count": 0 + }, + "count": 0, + "errors": { + "ratelimit": 0, + "unauthorized": 0, + "count": 0, + "timeout": 0 + } + } } } } }, - "cpu": { - "system": { - "ticks": 130, - "time": { - "ms": 130 + "system": { + "load": { + "1": 0.59, + "5": 0.48, + "15": 0.48, + "norm": { + "1": 0.0738, + "5": 0.06, + "15": 0.06 } }, + "cpu": { + "cores": 8 + } + }, + "beat": { + "name": "893a3c04ecfe", + "host": "893a3c04ecfe", + "type": "apm-server", + "uuid": "5ad4fb6a-0ab1-42e2-a2fe-db955257649f", + "version": "8.7.0" + }, + "cpu": { "total": { - "ticks": 360, + "ticks": 960, "time": { - "ms": 360 + "ms": 960 }, - "value": 360 + "value": 960 + }, + "system": { + "ticks": 370, + "time": { + "ms": 370 + } }, "user": { - "ticks": 230, + "ticks": 590, "time": { - "ms": 230 + "ms": 590 } } }, - "handles": { - "limit": { - "hard": 1048576, - "soft": 1048576 - }, - "open": 15 + "runtime": { + "goroutines": 55 }, - "info": { - "ephemeral_id": "3dc76b1b-a3bf-4354-b038-5b6092bcc559", - "name": "metricbeat", - "uptime": { - "ms": 13839 + "memstats": { + "rss": 122343424, + "memory": { + "total": 311294872, + "alloc": 299154104 }, - "version": "8.5.0" + "gc_next": 484823864 }, "libbeat": { - "config": { - "reloads": 0, - "running": 0, - "starts": 0, - "stops": 0 - }, "output": { - "events": { - "acked": 2, - "active": 0, - "batches": 2, - "dropped": 0, - "duplicates": 0, - "failed": 0, - "toomany": 0, - "total": 2 - }, - "read": { - "bytes": 4340, - "errors": 0 - }, "type": "elasticsearch", "write": { - "bytes": 4658, - "errors": 0 + "bytes": 0 + }, + "events": { + "batches": 0, + "total": 697, + "toomany": 0, + "active": 697, + "failed": 0, + "acked": 0 } }, "pipeline": { - "clients": 2, "events": { - "active": 1, - "dropped": 0, - "failed": 0, - "filtered": 0, - "published": 3, - "retry": 1, - "total": 3 - }, - "queue": { - "acked": 2 + "total": 697 } } }, - "memstats": { - "gc_next": 23947368, + "cgroup": { "memory": { - "alloc": 18478576, - "total": 38256424 + "mem": { + "usage": { + "bytes": 94502912 + } + }, + "id": "/" }, - "rss": 142700544 - }, - "runtime": { - "goroutines": 32 - }, - "state": { - "events": 1, - "failures": 0, - "success": 1 - }, - "system": { "cpu": { - "cores": 10 - }, - "load": { - "1": 2.36, - "15": 1.51, - "5": 1.82, - "norm": { - "1": 0.236, - "15": 0.151, - "5": 0.182 - } + "stats": { + "periods": 0, + "throttled": { + "ns": 0, + "periods": 0 + } + }, + "id": "/" + } + }, + "info": { + "name": "apm-server", + "ephemeral_id": "ff280956-08d9-42df-a300-2ae04beed234", + "version": "8.7.0", + "uptime": { + "ms": 84247 } }, "uptime": { - "ms": 13839 + "ms": 84247 } }, - "type": "metricbeat" - }, - "data_stream": { - "dataset": "beats.stack_monitoring.stats", - "namespace": "ep", - "type": "metrics" - }, - "ecs": { - "version": "8.0.0" - }, - "elastic_agent": { - "id": "de291921-7d38-4a60-89ca-cb6080ca6aa7", - "snapshot": false, - "version": "8.5.0" - }, - "event": { - "agent_id_status": "verified", - "dataset": "beats.stack_monitoring.stats", - "duration": 6892400, - "ingested": "2022-11-23T17:09:29Z", - "module": "beat" + "id": "5ad4fb6a-0ab1-42e2-a2fe-db955257649f", + "type": "apm-server" }, "host": { - "architecture": "x86_64", - "containerized": true, "hostname": "docker-fleet-agent", - "id": "66392b0697b84641af8006d87aeb89f1", - "ip": [ - "192.168.192.7" - ], - "mac": [ - "02-42-C0-A8-C0-07" - ], - "name": "docker-fleet-agent", "os": { + "kernel": "5.10.104-linuxkit", "codename": "focal", - "family": "debian", - "kernel": "5.10.47-linuxkit", "name": "Ubuntu", - "platform": "ubuntu", + "family": "debian", "type": "linux", - "version": "20.04.5 LTS (Focal Fossa)" - } + "version": "20.04.5 LTS (Focal Fossa)", + "platform": "ubuntu" + }, + "ip": [ + "172.24.0.7" + ], + "containerized": false, + "name": "docker-fleet-agent", + "id": "0d9a72390807443bbe4884110c6a0495", + "mac": [ + "02-42-AC-18-00-07" + ], + "architecture": "x86_64" + }, + "elastic_agent": { + "id": "67d0c20f-d474-43b0-8977-a0e99cc78ec6", + "version": "8.7.0", + "snapshot": true }, "metricset": { - "name": "stats", - "period": 10000 + "period": 10000, + "name": "stats" }, - "service": { - "address": "http://elastic-package-service_beat_1:5066/stats", - "name": "beat", - "type": "beat" + "event": { + "duration": 5179163, + "agent_id_status": "verified", + "ingested": "2023-03-16T14:27:29Z", + "module": "beat", + "dataset": "beats.stack_monitoring.stats" } } ``` @@ -284,8 +631,17 @@ An example event for `stats` looks as following: | beat.stats.apm_server.agentcfg.elasticsearch.fetch.fallback | | long | | beat.stats.apm_server.agentcfg.elasticsearch.fetch.invalid | | long | | beat.stats.apm_server.agentcfg.elasticsearch.fetch.unavailable | | long | +| beat.stats.apm_server.aggregation.servicesummarymetrics.active_groups | | long | +| beat.stats.apm_server.aggregation.servicesummarymetrics.overflowed.total | | long | +| beat.stats.apm_server.aggregation.servicetxmetrics.active_groups | | long | +| beat.stats.apm_server.aggregation.servicetxmetrics.overflowed.total | | long | +| beat.stats.apm_server.aggregation.spanmetrics.active_groups | | long | +| beat.stats.apm_server.aggregation.spanmetrics.overflowed.total | | long | | beat.stats.apm_server.aggregation.txmetrics.active_groups | | long | -| beat.stats.apm_server.aggregation.txmetrics.overflowed | | long | +| beat.stats.apm_server.aggregation.txmetrics.overflowed.per_service_txn_groups | | long | +| beat.stats.apm_server.aggregation.txmetrics.overflowed.services | | long | +| beat.stats.apm_server.aggregation.txmetrics.overflowed.total | | long | +| beat.stats.apm_server.aggregation.txmetrics.overflowed.txn_groups | | long | | beat.stats.apm_server.decoder.deflate.content-length | | long | | beat.stats.apm_server.decoder.deflate.count | | long | | beat.stats.apm_server.decoder.gzip.content-length | | long | diff --git a/packages/beat/manifest.yml b/packages/beat/manifest.yml index 8cf8218325b..b98da39019f 100644 --- a/packages/beat/manifest.yml +++ b/packages/beat/manifest.yml @@ -1,6 +1,6 @@ name: beat title: Beat -version: 0.1.0 +version: 0.1.1 description: Beat Integration type: integration conditions: