Skip to content
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/system_otel/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.2.3"
changes:
- description: Use `metrics-*` index pattern for dataviews
type: bugfix
link: https://github.com/elastic/integrations/pull/15615
- version: "0.2.2"
changes:
- description: Add `opentelemetry` category
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"panelsJSON": {
"c89d67c8-b029-43d3-b5e5-b91ee3bbec1e": {
"explicitInput": {
"dataViewId": "metrics-hostmetricsreceiver.otel-*",
"dataViewId": "metrics-*",
"exclude": false,
"existsSelected": false,
"fieldName": "resource.attributes.host.name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"panelsJSON": {
"7f983ba8-fdea-404a-bb1b-3f2bcc8daad6": {
"explicitInput": {
"dataViewId": "metrics-hostmetricsreceiver.otel-*",
"dataViewId": "metrics-*",
"exclude": false,
"existsSelected": false,
"fieldName": "resource.attributes.host.name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"panelsJSON": {
"b26a76ac-d257-4144-bd62-c70651312b37": {
"explicitInput": {
"dataViewId": "metrics-hostmetricsreceiver.otel-*",
"dataViewId": "metrics-*",
"exclude": false,
"existsSelected": false,
"fieldName": "resource.attributes.host.name",
Expand Down Expand Up @@ -184,9 +184,9 @@
"textBased": {
"indexPatternRefs": [
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"timeField": "@timestamp",
"title": "metrics-hostmetricsreceiver.otel-*"
"title": "metrics-*"
}
],
"initialContext": null,
Expand Down Expand Up @@ -223,7 +223,7 @@
}
}
],
"index": "metrics-hostmetricsreceiver.otel-*",
"index": "metrics-*",
"query": {
"esql": "FROM metrics-hostmetricsreceiver.otel-*\n| WHERE metrics.system.cpu.utilization IS NOT NULL\n| STATS cpu_util_per_state = AVG(metrics.system.cpu.utilization) BY time = BUCKET(@timestamp, 500, ?_tstart, ?_tend), state = attributes.state \n| STATS util = 1 - SUM(cpu_util_per_state) WHERE state IN (\"idle\", \"wait\") BY time"
},
Expand Down Expand Up @@ -341,9 +341,9 @@
"textBased": {
"indexPatternRefs": [
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"timeField": "@timestamp",
"title": "metrics-hostmetricsreceiver.otel-*"
"title": "metrics-*"
}
],
"layers": {
Expand Down Expand Up @@ -398,7 +398,7 @@
}
}
],
"index": "metrics-hostmetricsreceiver.otel-*",
"index": "metrics-*",
"query": {
"esql": "FROM metrics-hostmetricsreceiver.otel-*\n| WHERE `metrics.system.cpu.load_average.1m` IS NOT NULL OR metrics.system.cpu.logical.count IS NOT NULL\n| STATS `Normalized Load` = AVG(`metrics.system.cpu.load_average.1m`) / MAX(metrics.system.cpu.logical.count) BY time = BUCKET(@timestamp, 500, ?_tstart, ?_tend)\n| EVAL `Reference` = 1"
},
Expand Down Expand Up @@ -519,9 +519,9 @@
"textBased": {
"indexPatternRefs": [
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"timeField": "@timestamp",
"title": "metrics-hostmetricsreceiver.otel-*"
"title": "metrics-*"
}
],
"layers": {
Expand Down Expand Up @@ -571,7 +571,7 @@
}
}
],
"index": "metrics-hostmetricsreceiver.otel-*",
"index": "metrics-*",
"query": {
"esql": "FROM metrics-hostmetricsreceiver.otel-*\n| WHERE `metrics.system.cpu.load_average.1m` IS NOT NULL OR metrics.system.cpu.logical.count IS NOT NULL\n| STATS `Load (1m)` = AVG(`metrics.system.cpu.load_average.1m`),\n`Load (5m)` = AVG(`metrics.system.cpu.load_average.5m`),\n`Load (15m)` = AVG(`metrics.system.cpu.load_average.15m`)\nBY time = BUCKET(@timestamp, 500, ?_tstart, ?_tend)"
},
Expand Down Expand Up @@ -726,9 +726,9 @@
"textBased": {
"indexPatternRefs": [
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"timeField": "@timestamp",
"title": "metrics-hostmetricsreceiver.otel-*"
"title": "metrics-*"
}
],
"layers": {
Expand Down Expand Up @@ -882,9 +882,9 @@
"textBased": {
"indexPatternRefs": [
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"timeField": "@timestamp",
"title": "metrics-hostmetricsreceiver.otel-*"
"title": "metrics-*"
}
],
"layers": {
Expand Down Expand Up @@ -963,7 +963,7 @@
}
}
],
"index": "metrics-hostmetricsreceiver.otel-*",
"index": "metrics-*",
"query": {
"esql": "FROM metrics-hostmetricsreceiver.otel-*\n| WHERE metrics.system.memory.utilization IS NOT NULL\n| STATS memory_util_per_state = AVG(metrics.system.memory.utilization) BY time = BUCKET(@timestamp, 100, ?_tstart, ?_tend), state = attributes.state \n| WHERE state IN (\"used\", \"cached\", \"free\")\n| STATS utilization = SUM(memory_util_per_state) BY time, state"
},
Expand Down Expand Up @@ -3455,7 +3455,7 @@
"attributes": {
"references": [
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"name": "indexpattern-datasource-layer-4ff49194-1922-4a85-83f8-3c329566749a",
"type": "index-pattern"
}
Expand Down Expand Up @@ -3539,21 +3539,21 @@
},
"ignoreGlobalFilters": false,
"incompleteColumns": {},
"indexPatternId": "metrics-hostmetricsreceiver.otel-*",
"indexPatternId": "metrics-*",
"sampling": 1
}
}
},
"indexpattern": {
"currentIndexPatternId": "metrics-hostmetricsreceiver.otel-*",
"currentIndexPatternId": "metrics-*",
"layers": {}
},
"textBased": {
"indexPatternRefs": [
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"timeField": "@timestamp",
"title": "metrics-hostmetricsreceiver.otel-*"
"title": "metrics-*"
}
],
"layers": {}
Expand Down Expand Up @@ -3727,12 +3727,12 @@
"type": "index-pattern"
},
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"name": "3b11e491-e230-4415-b81a-b98ee78952a6:indexpattern-datasource-layer-4ff49194-1922-4a85-83f8-3c329566749a",
"type": "index-pattern"
},
{
"id": "metrics-hostmetricsreceiver.otel-*",
"id": "metrics-*",
"name": "controlGroup_b713143e-a4b1-4dd3-9a4e-a4a1402c292d:optionsListDataView",
"type": "index-pattern"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/system_otel/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.5.0
name: system_otel
title: "System OpenTelemetry Assets"
version: 0.2.2
version: 0.2.3
description: "Dashboards for the OpenTelemetry data collected with the `hostmetrics` receiver."
type: content
categories:
Expand Down