Skip to content

Commit

Permalink
(feat): add namespace to Pyroscope, bump common-proto-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Jan 5, 2024
1 parent 13871da commit 055a5d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {
// APIs
api("dev.emortal.api:module-system:1.0.0")
api("dev.emortal.api:agones-sdk:1.0.7")
api("dev.emortal.api:common-proto-sdk:ca990cc")
api("dev.emortal.api:common-proto-sdk:fee482e")
api("dev.emortal.api:live-config-parser:f0728b0")

api("io.kubernetes:client-java:18.0.1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ public boolean onLoad() {

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

Config config = new Config.Builder()
Expand Down

0 comments on commit 055a5d8

Please sign in to comment.