dropped_labels.proto 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Copyright 2021 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.monitoring.v3;
  16. option csharp_namespace = "Google.Cloud.Monitoring.V3";
  17. option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "DroppedLabelsProto";
  20. option java_package = "com.google.monitoring.v3";
  21. option php_namespace = "Google\\Cloud\\Monitoring\\V3";
  22. option ruby_package = "Google::Cloud::Monitoring::V3";
  23. // A set of (label, value) pairs that were removed from a Distribution
  24. // time series during aggregation and then added as an attachment to a
  25. // Distribution.Exemplar.
  26. //
  27. // The full label set for the exemplars is constructed by using the dropped
  28. // pairs in combination with the label values that remain on the aggregated
  29. // Distribution time series. The constructed full label set can be used to
  30. // identify the specific entity, such as the instance or job, which might be
  31. // contributing to a long-tail. However, with dropped labels, the storage
  32. // requirements are reduced because only the aggregated distribution values for
  33. // a large group of time series are stored.
  34. //
  35. // Note that there are no guarantees on ordering of the labels from
  36. // exemplar-to-exemplar and from distribution-to-distribution in the same
  37. // stream, and there may be duplicates. It is up to clients to resolve any
  38. // ambiguities.
  39. message DroppedLabels {
  40. // Map from label to its value, for all labels dropped in any aggregation.
  41. map<string, string> label = 1;
  42. }