Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit c8398fa

Browse files
authored
Moving span stores to trace/internal. (#103)
1 parent 9bac89f commit c8398fa

File tree

12 files changed

+19
-12
lines changed

12 files changed

+19
-12
lines changed

opencensus/exporters/trace/stackdriver/internal/stackdriver_exporter_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "absl/time/clock.h"
1818
#include "gtest/gtest.h"
1919
#include "include/grpc++/grpc++.h"
20-
#include "opencensus/trace/exporter/local_span_store.h"
20+
#include "opencensus/trace/internal/local_span_store.h"
2121
#include "opencensus/trace/span.h"
2222
#include "test/core/util/test_config.h"
2323

opencensus/exporters/trace/stdout/internal/stdout_exporter_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include "absl/time/clock.h"
1818
#include "gtest/gtest.h"
19-
#include "opencensus/trace/exporter/local_span_store.h"
19+
#include "opencensus/trace/internal/local_span_store.h"
2020
#include "opencensus/trace/span.h"
2121

2222
namespace opencensus {

opencensus/trace/BUILD

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ cc_library(
5454
"exporter/annotation.h",
5555
"exporter/attribute_value.h",
5656
"exporter/link.h",
57-
"exporter/local_span_store.h",
5857
"exporter/message_event.h",
59-
"exporter/running_span_store.h",
6058
"exporter/span_data.h",
6159
"exporter/span_exporter.h",
6260
"exporter/status.h",
6361
"internal/attribute_list.h",
62+
"internal/local_span_store.h",
6463
"internal/local_span_store_impl.h",
64+
"internal/running_span_store.h",
6565
"internal/running_span_store_impl.h",
6666
"internal/span_exporter_impl.h",
6767
"internal/span_impl.h",
@@ -269,7 +269,6 @@ cc_test(
269269

270270
# Benchmarks
271271
# ========================================================================= #
272-
#
273272

274273
cc_binary(
275274
name = "attribute_value_ref_benchmark",

opencensus/trace/internal/local_span_store.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "opencensus/trace/exporter/local_span_store.h"
15+
#include "opencensus/trace/internal/local_span_store.h"
1616

1717
#include <vector>
1818

opencensus/trace/exporter/local_span_store.h renamed to opencensus/trace/internal/local_span_store.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ namespace opencensus {
2727
namespace trace {
2828
namespace exporter {
2929

30+
// **WARNING** This code is subject to change. Do not rely on its API or
31+
// implementation functioning in the current manner.
32+
//
33+
//
3034
// LocalSpanStore allows users to access in-process information about Spans that
3135
// have completed (called End()) and were recording events.
3236
//

opencensus/trace/internal/local_span_store_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef OPENCENSUS_TRACE_INTERNAL_LOCAL_SPAN_STORE_IMPL_H_
1616
#define OPENCENSUS_TRACE_INTERNAL_LOCAL_SPAN_STORE_IMPL_H_
1717

18-
#include "opencensus/trace/exporter/local_span_store.h"
18+
#include "opencensus/trace/internal/local_span_store.h"
1919

2020
#include <cstdint>
2121
#include <deque>

opencensus/trace/internal/local_span_store_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "opencensus/trace/exporter/local_span_store.h"
15+
#include "opencensus/trace/internal/local_span_store.h"
1616

1717
#include "gtest/gtest.h"
1818
#include "opencensus/trace/internal/local_span_store_impl.h"

opencensus/trace/internal/running_span_store.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "opencensus/trace/exporter/running_span_store.h"
15+
#include "opencensus/trace/internal/running_span_store.h"
1616

1717
#include <vector>
1818

opencensus/trace/exporter/running_span_store.h renamed to opencensus/trace/internal/running_span_store.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ namespace opencensus {
2525
namespace trace {
2626
namespace exporter {
2727

28+
// **WARNING** This code is subject to change. Do not rely on its API or
29+
// implementation functioning in the current manner.
30+
//
31+
//
2832
// RunningSpanStore allows users to access in-process information about all
2933
// running spans. This functionality allows users to debug stuck operations or
3034
// long-lived operations.

opencensus/trace/internal/running_span_store_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
#include "absl/base/thread_annotations.h"
2424
#include "absl/synchronization/mutex.h"
25-
#include "opencensus/trace/exporter/running_span_store.h"
25+
#include "opencensus/trace/internal/running_span_store.h"
2626
#include "opencensus/trace/internal/span_impl.h"
2727

2828
namespace opencensus {

0 commit comments

Comments
 (0)