diff --git a/postgres-monika.yml b/postgres-monika.yml new file mode 100644 index 000000000..889fa92bc --- /dev/null +++ b/postgres-monika.yml @@ -0,0 +1,10 @@ +probes: + - id: 'postgres-01' + name: database health + description: ensure db health + interval: 10 # in seconds + postgres: + - host: 172.15.0.1 + port: 5432 + database: my-database + password: db-password diff --git a/sonar-project.properties b/sonar-project.properties index e9ea0d756..960071ca4 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -7,7 +7,7 @@ sonar.projectName=Monitoring Berkala # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. sonar.sources=src -sonar.tests=src/**/*.test.ts,test,prod_test +sonar.tests=test,prod_test # Encoding of the source code. Default is default system encoding sonar.sourceEncoding=UTF-8 \ No newline at end of file