lib/elastic_apm/transport/serializers/metricset_serializer.rb in elastic-apm-2.11.0 vs lib/elastic_apm/transport/serializers/metricset_serializer.rb in elastic-apm-2.12.0
- old
+ new
@@ -7,10 +7,10 @@
class MetricsetSerializer < Serializer
def build(metricset)
{
metricset: {
timestamp: metricset.timestamp.to_i,
- tags: keyword_object(metricset.tags),
+ tags: keyword_object(metricset.labels),
samples: build_samples(metricset.samples)
}
}
end