]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/api/include/opentelemetry/metrics/async_instruments.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / api / include / opentelemetry / metrics / async_instruments.h
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 #pragma once
5 #ifndef ENABLE_METRICS_PREVIEW
6
7 # include "opentelemetry/metrics/observer_result.h"
8
9 OPENTELEMETRY_BEGIN_NAMESPACE
10 namespace metrics
11 {
12 class AsynchronousInstrument
13 {};
14
15 template <class T>
16 class ObservableCounter : public AsynchronousInstrument
17 {};
18
19 template <class T>
20 class ObservableGauge : public AsynchronousInstrument
21 {};
22
23 template <class T>
24 class ObservableUpDownCounter : public AsynchronousInstrument
25 {};
26
27 } // namespace metrics
28 OPENTELEMETRY_END_NAMESPACE
29 #endif