Skip to content

Commit

Permalink
Register base metric extension and expose first metric
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentinD committed Apr 25, 2023
1 parent 33da470 commit de316e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private static void set(GraphProjectConfig config, GraphStore graphStore, boolea

listeners.forEach(listener -> {
try {
listener.onProject(config.username(), config.graphName());
listener.onProject(config.username(), graphStore.databaseId().databaseName(), config.graphName());
} catch (Exception e) {
log.ifPresent(l -> l.warn(String.format(
Locale.US,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@

public interface GraphStoreCatalogListener {

void onProject(String user, String graphName);
void onProject(String user, String database, String graphName);
}
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ void callListeners() {

var listener = new GraphStoreCatalogListener() {
@Override
public void onProject(String user, String graphName) {
public void onProject(String user, String database, String graphName) {
listenerCalls.increment();
}
};
Expand Down

0 comments on commit de316e0

Please sign in to comment.