1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
6 #include "opentelemetry/common/timestamp.h"
8 OPENTELEMETRY_BEGIN_NAMESPACE
21 // The key identifies the active span in the current context.
22 constexpr char kSpanKey
[] = "active_span";
24 // StatusCode - Represents the canonical set of status codes of a finished Span.
27 kUnset
, // default status
28 kOk
, // Operation has completed successfully.
29 kError
// The operation contains an error
33 * EndSpanOptions provides options to set properties of a Span when it is
38 // Optionally sets the end time of a Span.
39 common::SteadyTimestamp end_steady_time
;
43 OPENTELEMETRY_END_NAMESPACE