Skip to content

Commit 4551f63

Browse files
committed
document span_config.h
1 parent e030291 commit 4551f63

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/datadog/span_config.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
#pragma once
22

3+
// This component provides a `struct`, `SpanConfig`, used to specify span
4+
// properties when a span is created. The following member functions accept a
5+
// `SpanConfig` argument:
6+
//
7+
// - `Tracer::create_span`
8+
// - `Tracer::extract_span`
9+
// - `Span::create_child`
10+
//
11+
// `SpanConfig` contains much of the same information as `SpanDefaults`, but the
12+
// two types have different purposes. `SpanDefaults` are the properties used
13+
// when no corresponding property is specified in a `SpanConfig` argument.
14+
// See `SpanData::apply_config`.
15+
316
#include <optional>
417
#include <string>
518
#include <unordered_map>

0 commit comments

Comments
 (0)