Skip to content

Commit

Permalink
Merge pull request #17654 from jmartisk/issue-17448-neo4j
Browse files Browse the repository at this point in the history
Rename quarkus.neo4j.pool.metrics-enabled for unification
  • Loading branch information
mkouba authored Jun 3, 2021
2 parents d216815 + 8748f3b commit b9cebcc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/neo4j.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ This behavior can be disabled by setting the `quarkus.neo4j.health.enabled` prop

=== Driver metrics

If you are using a metrics extension and specify the config property `quarkus.neo4j.pool.metrics-enabled=true`, the Neo4j extension will
If you are using a metrics extension and specify the config property `quarkus.neo4j.pool.metrics.enabled=true`, the Neo4j extension will
expose several metrics related to the Neo4j connection pool.

=== Explore Cypher and the Graph
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static class Pool {
/**
* Flag, if metrics are enabled.
*/
@ConfigItem
@ConfigItem(name = "metrics.enabled")
public boolean metricsEnabled;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
quarkus.neo4j.uri = ${neo4j.uri}
quarkus.neo4j.authentication.username = ${neo4j.username}
quarkus.neo4j.authentication.password = ${neo4j.password}
quarkus.neo4j.pool.metrics-enabled = true
quarkus.neo4j.pool.metrics.enabled = true

# Disabling SSL is not recommended in production and only needed for this integration test.
# Disabling SSL will disable encrypted bolt communication.
Expand Down

0 comments on commit b9cebcc

Please sign in to comment.