foo_library.h 621 B

123456789101112131415161718192021
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. #pragma once
  4. #include <string>
  5. class foo_library
  6. {
  7. public:
  8. static void counter_example(const std::string &name);
  9. static void histogram_example(const std::string &name);
  10. static void histogram_exp_example(const std::string &name);
  11. static void observable_counter_example(const std::string &name);
  12. #if OPENTELEMETRY_ABI_VERSION_NO >= 2
  13. static void gauge_example(const std::string &name);
  14. #endif
  15. static void semconv_counter_example();
  16. static void semconv_histogram_example();
  17. static void semconv_observable_counter_example();
  18. };