Open kwinstonix opened 2 years ago
Pinging @elastic/integrations (Team:Integrations)
@kwinstonix Thanks for looking into this and I agree with you, we should keep the original instance_name
label as well. WDYT @endorama @aspacca ?
Do you also plan to move the other ECS related fields into their ECS equivalent?
E.g. gcp.labels.resource.container_name
could be container.name
Otherwise the Metrics view in Observabilty will not show the exported data from this module and customer has to also use Kubernetes integration to grab more data. But if the customer is doing so, the GCP module for GKE is not adding any value.
Hi! We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale
to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1
.
Thank you for your contribution!
:+1
@kaiyan-sheng , I opened a PR to fix this
Hi! We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale
to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1
.
Thank you for your contribution!
1. The problem
When I use metricbeat to collecte instance metrics, I find that there is no
instance_name
label inlabels.metrics
. That is different from google monitoring docs and make me confused.gcp compute metrics
https://cloud.google.com/monitoring/api/metrics_gcp#gcp-compute
2. The reason
There is a filter logic in compute labels field.
https://github.com/elastic/beats/blob/76bf18b0c2be4c8adf1f2a0f9168aadcd04e8593/x-pack/metricbeat/module/gcp/timeseries_metadata_collector.go#L80-L89
3. Suggestion
cloud.intance.name
is a common ecs filed , but we should also keep original metric labels. That would be more clear.