public class ProfileSnapshotDumper extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
QUERY_PROFILE_SNAPSHOT_RETRY_COUNT |
static int |
QUERY_PROFILE_WRITE_PROCESS_LOG |
| Constructor and Description |
|---|
ProfileSnapshotDumper() |
| Modifier and Type | Method and Description |
|---|---|
static File |
dump(ProfiledBasicInfo basicInfo,
org.apache.skywalking.oap.server.library.module.ModuleManager manager)
dump snapshots to file
|
static List<org.apache.skywalking.apm.network.language.profile.v3.ThreadSnapshot> |
parseFromFileWithTimeRange(File file,
List<org.apache.skywalking.oap.server.core.query.type.ProfileAnalyzeTimeRange> timeRanges)
load thread snapshots in appointing time range
|
public static final int QUERY_PROFILE_SNAPSHOT_RETRY_COUNT
public static final int QUERY_PROFILE_WRITE_PROCESS_LOG
public static File dump(ProfiledBasicInfo basicInfo, org.apache.skywalking.oap.server.library.module.ModuleManager manager) throws IOException
IOExceptionpublic static List<org.apache.skywalking.apm.network.language.profile.v3.ThreadSnapshot> parseFromFileWithTimeRange(File file, List<org.apache.skywalking.oap.server.core.query.type.ProfileAnalyzeTimeRange> timeRanges) throws IOException
IOExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.