Skip to content

Commit

Permalink
Fix javadocs error
Browse files Browse the repository at this point in the history
Signed-off-by: suranjay <surajkumar.tu@gmail.com>
  • Loading branch information
suranjay committed May 29, 2023
1 parent f275db8 commit 0d67058
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,18 @@
* will be written to a file. Tracing log file would be available in the logs directory.
*/
public class FileSpanExporter implements SpanExporter {
public static final String TRACING_LOG_PREFIX = "tracing_log";
static final String TRACING_LOG_PREFIX = "tracing_log";
private static final Logger TRACING_LOGGER = LogManager.getLogger(TRACING_LOG_PREFIX);
private final Logger DEFAULT_LOGGER = LogManager.getLogger(FileSpanExporter.class);
private final String FIELD_SEPARATOR = "\t";

private final AtomicBoolean isShutdown = new AtomicBoolean();

/**
* No-args constructor
*/
public FileSpanExporter() {}

@Override
public CompletableResultCode export(Collection<SpanData> spans) {
if (isShutdown.get()) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/

/**
* Contains span exporters
*/
package org.opensearch.tracing.exporter;

0 comments on commit 0d67058

Please sign in to comment.