-
Notifications
You must be signed in to change notification settings - Fork 460
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
[etcd] Add metric type mapping to self datastream #8407
Conversation
Index mappings{
"mappings": {
"_meta": {
"managed_by": "fleet",
"managed": true,
"package": {
"name": "etcd"
}
},
"_data_stream_timestamp": {
"enabled": true
},
"dynamic_templates": [
{
"strings_as_keyword": {
"match_mapping_type": "string",
"mapping": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
],
"date_detection": false,
"properties": {
"@timestamp": {
"type": "date"
},
"agent": {
"properties": {
"ephemeral_id": {
"type": "keyword",
"ignore_above": 1024
},
"id": {
"type": "keyword",
"ignore_above": 1024
},
"name": {
"type": "keyword",
"ignore_above": 1024
},
"type": {
"type": "keyword",
"ignore_above": 1024
},
"version": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"cloud": {
"properties": {
"account": {
"properties": {
"id": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"availability_zone": {
"type": "keyword",
"ignore_above": 1024
},
"instance": {
"properties": {
"id": {
"type": "keyword",
"ignore_above": 1024
},
"name": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"machine": {
"properties": {
"type": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"project": {
"properties": {
"id": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"provider": {
"type": "keyword",
"ignore_above": 1024
},
"region": {
"type": "keyword",
"ignore_above": 1024
},
"service": {
"properties": {
"name": {
"type": "keyword",
"ignore_above": 1024
}
}
}
}
},
"data_stream": {
"properties": {
"dataset": {
"type": "constant_keyword",
"value": "etcd.self"
},
"namespace": {
"type": "constant_keyword",
"value": "default"
},
"type": {
"type": "constant_keyword",
"value": "metrics"
}
}
},
"ecs": {
"properties": {
"version": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"elastic_agent": {
"properties": {
"id": {
"type": "keyword",
"ignore_above": 1024
},
"snapshot": {
"type": "boolean"
},
"version": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"etcd": {
"properties": {
"api_version": {
"type": "keyword",
"ignore_above": 1024
},
"self": {
"properties": {
"id": {
"type": "keyword",
"ignore_above": 1024
},
"leaderinfo": {
"properties": {
"leader": {
"type": "keyword",
"ignore_above": 1024
},
"start_time": {
"type": "keyword",
"ignore_above": 1024
},
"uptime": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"name": {
"type": "keyword",
"ignore_above": 1024
},
"recv": {
"properties": {
"append_request": {
"properties": {
"count": {
"type": "long",
"time_series_metric": "counter"
}
}
},
"bandwidth_rate": {
"type": "scaled_float",
"scaling_factor": 1000,
"time_series_metric": "gauge"
},
"pkg_rate": {
"type": "scaled_float",
"scaling_factor": 1000,
"time_series_metric": "gauge"
}
}
},
"send": {
"properties": {
"append_request": {
"properties": {
"count": {
"type": "long",
"time_series_metric": "counter"
}
}
},
"bandwidth_rate": {
"type": "scaled_float",
"scaling_factor": 1000,
"time_series_metric": "gauge"
},
"pkg_rate": {
"type": "scaled_float",
"scaling_factor": 1000,
"time_series_metric": "gauge"
}
}
},
"start_time": {
"type": "keyword",
"ignore_above": 1024
},
"state": {
"type": "keyword",
"ignore_above": 1024
}
}
}
}
},
"event": {
"properties": {
"agent_id_status": {
"type": "keyword",
"ignore_above": 1024
},
"dataset": {
"type": "constant_keyword",
"value": "etcd.self"
},
"duration": {
"type": "long"
},
"ingested": {
"type": "date",
"format": "strict_date_time_no_millis||strict_date_optional_time||epoch_millis"
},
"module": {
"type": "constant_keyword",
"value": "etcd"
}
}
},
"host": {
"properties": {
"architecture": {
"type": "keyword",
"ignore_above": 1024
},
"containerized": {
"type": "boolean"
},
"hostname": {
"type": "keyword",
"ignore_above": 1024
},
"id": {
"type": "keyword",
"ignore_above": 1024
},
"ip": {
"type": "ip"
},
"mac": {
"type": "keyword",
"ignore_above": 1024
},
"name": {
"type": "keyword",
"ignore_above": 1024
},
"os": {
"properties": {
"codename": {
"type": "keyword",
"ignore_above": 1024
},
"family": {
"type": "keyword",
"ignore_above": 1024
},
"kernel": {
"type": "keyword",
"ignore_above": 1024
},
"name": {
"type": "keyword",
"ignore_above": 1024
},
"platform": {
"type": "keyword",
"ignore_above": 1024
},
"type": {
"type": "keyword",
"ignore_above": 1024
},
"version": {
"type": "keyword",
"ignore_above": 1024
}
}
}
}
},
"metricset": {
"properties": {
"name": {
"type": "keyword",
"ignore_above": 1024
},
"period": {
"type": "long"
}
}
},
"service": {
"properties": {
"address": {
"type": "keyword",
"time_series_dimension": true
},
"type": {
"type": "keyword",
"ignore_above": 1024
}
}
}
}
}
} |
🌐 Coverage report
|
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
Hi @agithomas, please update your branch with the latest contents from main branch. There was an important PR merged updating the CI pipelines. Thanks! |
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
Hi! This PR has been stale for a while and we're going to close it as part of our cleanup procedure. We appreciate your contribution and would like to apologize if we have not been able to review it, due to the current heavy load of the team. Feel free to re-open this PR if you think it should stay open and is worth rebasing. Thank you for your contribution! |
Proposed commit message
Checklist
changelog.yml
file.How to test this PR locally
Related issues
Screenshots