Guest User

Untitled

a guest
Feb 20th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. /// original
  2.  
  3. @Metric(
  4. name = "baggage-update",
  5. tags = {@Tag(key = "result", value = "err")}
  6. )
  7. // Number of times baggage failed to write or update on spans
  8. public Counter baggageUpdateFailure;
  9.  
  10. /// new version
  11.  
  12. @Metric(
  13. name = "baggage-update",
  14. tags = {
  15. @Tag(key = "state"),
  16. @Tag(key = "sampled"),
  17. @Tag(key = "group"),
  18. @Tag(key = "phase"),
  19. @Tag(key = "result", value = "err"),
  20. }
  21. )
  22. // Number of times baggage failed to write or update on spans
  23. public Counter baggageUpdateFailure;
Add Comment
Please, Sign In to add comment