Add x-pack data for Elasticsearch shard metricset#7097
Add x-pack data for Elasticsearch shard metricset#7097jsoriano merged 1 commit intoelastic:masterfrom
Conversation
There was a problem hiding this comment.
exported function GetNodeInfo should have comment or be unexported
There was a problem hiding this comment.
exported type NodeInfo should have comment or be unexported
There was a problem hiding this comment.
@pickypg This value is most of the time null. In these cases metricbeat just skips the value instead of sending null. Is that ok?
There was a problem hiding this comment.
@pickypg Should this be a subest of the cluster_uuid?
There was a problem hiding this comment.
@pickypg @tlrx You might now more here? On ES master the following request http://localhost:9200/_cluster/state/version,master_node,routing_table?pretty returns:
{
"cluster_name" : "elasticsearch",
"compressed_size_in_bytes" : 36170,
"cluster_uuid" : "_na_",
"version" : 59,
If I fetch http://localhost:9200/_cluster/state/?pretty I get
{
"cluster_name" : "elasticsearch",
"compressed_size_in_bytes" : 36170,
"cluster_uuid" : "Ir3Dhzo-TluhYWEaz4UZlA",
"version" : 59,
Is this a bug?
There was a problem hiding this comment.
Good catch @ruflin
I created elastic/elasticsearch#30656 and asked Chris to review it.
eb9dd0f to
0d5ecec
Compare
* Introduces GetNodeInfo method to fetch additional info about the node. This should become obsolete in the future. * Refactor shard metricset to use module level hostParser and metricset. The xpack feature works but will need further testing with new builds of Elasticsearch. The plan is to test all xpack metricsets together when they are all done and do further tweaks.
* Introduces GetNodeInfo method to fetch additional info about the node. This should become obsolete in the future. * Refactor shard metricset to use module level hostParser and metricset. The xpack feature works but will need further testing with new builds of Elasticsearch. The plan is to test all xpack metricsets together when they are all done and do further tweaks.
* Introduces GetNodeInfo method to fetch additional info about the node. This should become obsolete in the future. * Refactor shard metricset to use module level hostParser and metricset. The xpack feature works but will need further testing with new builds of Elasticsearch. The plan is to test all xpack metricsets together when they are all done and do further tweaks.
The xpack feature works but will need further testing with new builds of Elasticsearch. The plan is to test all xpack metricsets together when they are all done and do further tweaks.