Skip to content

Commit

Permalink
Support for JDBC metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed May 5, 2022
1 parent f3f8188 commit 382ec3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/formserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.2
version: 1.0.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/formserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ tomcat:
type="javax.sql.DataSource"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://${database.host}:${database.port}/${database.name}"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
jdbcInterceptors="nl.nlighten.prometheus.tomcat.TomcatJdbcInterceptor(logFailed=true,logSlow=true,threshold=1000,buckets=.01|.05|.1|1|10,slowQueryBuckets=1|10|30)"
username="${database.username}"
password="${database.password}"
maxActive="100"
Expand Down

0 comments on commit 382ec3d

Please sign in to comment.