Add convenience function for setting instance to the IP. by brian-brazil · Pull Request #78 · prometheus/client_java · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ExamplePushGateway {
public static void main(String[] args) throws Exception {
PushGateway pg = new PushGateway(args[0]);
g.set(42);
pg.push(pushRegistry, "job", "instance");
pg.push(pushRegistry, "job");
}
}