io.pyroscope.javaagent.Snapshot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agent Show documentation
Show all versions of agent Show documentation
The Java profiling agent for Pyroscope.io. Based on async-profiler.
package io.pyroscope.javaagent;
import io.pyroscope.http.Format;
import io.pyroscope.labels.pb.*;
import java.time.Instant;
public final class Snapshot {
public final Format format;
public final EventType eventType;
public final Instant started;
public final byte[] data;
public final JfrLabels.Snapshot labels;
Snapshot(Format format, final EventType eventType, final Instant started, final byte[] data, JfrLabels.Snapshot labels) {
this.format = format;
this.eventType = eventType;
this.started = started;
this.data = data;
this.labels = labels;
}
}