Skip to content

Commit

Permalink
(fix): Change pyroscope naming/labelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Jan 5, 2024
1 parent c6cba79 commit c06311b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,11 @@ public boolean onLoad() {

private void setupPyroscope() {
Pyroscope.setStaticLabels(Map.of(
"fleet", FLEET_NAME,
"pod", Environment.getHostname()
));

Config config = new Config.Builder()
.setApplicationName(Environment.getHostname())
.setApplicationName(FLEET_NAME)
.setProfilingEvent(EventType.ITIMER)
.setFormat(Format.JFR)
.setProfilingLock("10ms")
Expand Down

0 comments on commit c06311b

Please sign in to comment.