Skip to content

Commit 4ba1c10

Browse files
committed
remove otlp format as Async-profiler maked it is experimental
1 parent 14f1aca commit 4ba1c10

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/java/org/apache/cassandra/service/AsyncProfilerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public static String parseEvents(String rawString)
9191

9292
public enum AsyncProfilerFormat
9393
{
94-
flat, traces, collapsed, flamegraph, tree, jfr, otlp;
94+
flat, traces, collapsed, flamegraph, tree, jfr;
9595

9696
public static String parseFormat(String rawFormat)
9797
{

src/java/org/apache/cassandra/tools/nodetool/AsyncProfileCommandGroup.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ private static String getOutputFileName(AsyncProfilerFormat outputFormat)
8484

8585
if (outputFormat == AsyncProfilerFormat.jfr)
8686
filename += ".jfr";
87-
else if (outputFormat == AsyncProfilerFormat.otlp)
88-
filename += ".otlp";
8987
else
9088
filename += ".html";
9189

@@ -114,7 +112,7 @@ public static class AsyncProfileStartCommand extends AbstractCommand
114112
public String duration = "60s";
115113

116114
@Option(names = { "-f", "--format" },
117-
description = "Output format, one of 'flat', 'traces', 'collapsed', 'flamegraph', 'tree', 'jfr', 'otlp', defaults to 'flamegraph'")
115+
description = "Output format, one of 'flat', 'traces', 'collapsed', 'flamegraph', 'tree', 'jfr', defaults to 'flamegraph'")
118116
public AsyncProfilerFormat outputFormat = AsyncProfilerFormat.flamegraph;
119117

120118
@Override

0 commit comments

Comments
 (0)