Alexis Sellier
1ab8d2bbc8
Discover only databases that are not templates and allow connections ( #297 )
...
* Discover only databases that are not templates and allow connections
* Update readme
2019-08-12 11:40:58 +10:00
Alexis Sellier
c768e64548
Add --exclude-databases option ( #298 )
...
* Add exclude-databases option
* Update readme to explain --exclude-databases
* Add comments to ExcludeDatabases function and unexport Contains function
2019-08-12 11:25:01 +10:00
Richard Kojedzinszky
5f3a711ebd
Use application_name column as a label
2019-07-12 10:26:33 +10:00
Sakis
1c14eb964a
README: SQL that supports re-execution
...
Make the SQL work in automated deployments where it will be repeated many times.
2019-07-12 10:26:07 +10:00
Will Rouesnel
0d7891de1a
Fix smoke-tests to more reliably use pg_isready.
2019-07-03 23:14:20 +10:00
Will Rouesnel
bb8b37cbeb
Revert "Updated the magefile.go to use new version of archiver library"
...
This reverts commit 6585e6672f
.
There's been some weird changes added to the upstream archiver library which
break the build. Since this is only used in the build process, I'm in no hurry
to update it.
2019-07-03 22:44:24 +10:00
Will Rouesnel
97554928e6
Update README.md
2019-07-03 22:37:58 +10:00
Will Rouesnel
7b2dc3f2a4
Update travis secrets.
2019-07-03 22:37:58 +10:00
Kerim Djiho
6585e6672f
Updated the magefile.go to use new version of archiver library
2019-07-03 22:25:08 +10:00
Janis Orlovs
06781103f0
Docker file added multistage build to add non-root user running under ID:20001 for image.
...
Reduces attack surface by not running image as root user
2019-07-03 22:17:37 +10:00
Arno Geurts
85c31524f6
Fix build for auto-discover-databases feature
2019-07-03 22:17:15 +10:00
Arno Geurts
4d96104c10
Add documentation for auto-discover-databases
2019-07-03 22:17:15 +10:00
Arno Geurts
58043f72da
Add option to automatically discover database names
2019-07-03 22:17:15 +10:00
Miguel Hernandez
2b896ea2df
add support for boolean data types as metrics
...
This is useful if your database uses true/false for state and want to make prometheus alerts based on that.
Before, booleans were not able to be parsed. See issue #201
2019-07-01 08:44:56 +10:00
Rick van Hattem
486345d8fd
No need to truncate replication lag to integers
2019-07-01 08:44:04 +10:00
Alexey Palazhchenko
84a575f29f
Group and sort imports.
2019-07-01 08:43:47 +10:00
Asher Foa
f9bb147ee8
Add badge for docker pulls.
2019-07-01 08:43:24 +10:00
Michael Kaye
b12adc11e4
Update README.md
...
Allow non-superuser commands to be re-run without (some) errors.
2019-07-01 08:43:07 +10:00
SamB
0d4af2b71c
No version metrics when default metrics disabled
2019-07-01 08:42:40 +10:00
Sean Corkum
07dd31dea6
Update README.md
...
add ; for any users that are copy/pasting from the readme
2019-06-15 19:39:39 +10:00
Asher Foa
c9dc7a20a1
remove unsupported postgres versions
2019-06-15 19:38:40 +10:00
Anthony Regeda
734dc50972
fix-panic-on-shutdown-server added test for const values parsing
2019-03-02 12:34:59 +10:00
Anthony Regeda
725b163161
fix-panic-on-shutdown-server fix panic on shutdown server
2019-03-02 12:34:59 +10:00
Freddy Spierenburg
fce869257f
Update the running as non-superuser section. This solves the problem that certain metrics didn't produce a value.
2019-02-20 23:37:10 +11:00
Anthony Regeda
6d2cae6fa8
fix-param-env-key fix spelling of env parameter
2019-01-04 00:32:12 +11:00
Anthony Regeda
1d6a733ba2
multi-server-exporter multi server exporter is introduced
2018-12-19 01:46:45 +11:00
Will Rouesnel
72446a5b1e
Don't fail builds when GIT_API_KEY is not available (on PRs).
...
We don't need GIT_API_KEY to clone the assets branch, so don't require it.
2018-11-17 16:11:38 +11:00
Will Rouesnel
c9ba19e6fd
Metric push is working.
2018-11-11 22:53:38 +11:00
Will Rouesnel
4a74bf13f6
More debugging.
2018-11-11 22:27:40 +11:00
Will Rouesnel
fd4691cbc0
Fix metrics push.
2018-11-11 21:43:13 +11:00
Will Rouesnel
5bd5c591be
Debug metric push.
2018-11-11 21:03:41 +11:00
Will Rouesnel
1e5f7f46f4
Fix the metric changes script.
2018-11-11 18:02:41 +11:00
Will Rouesnel
5854cac87f
Specify assets branch to get-changes.
2018-11-11 17:39:50 +11:00
Will Rouesnel
711ab8490b
More specific glob for metric files.
2018-11-11 17:13:06 +11:00
Will Rouesnel
df0bb41a13
Add metric change tracking scripts.
2018-11-11 17:00:02 +11:00
Will Rouesnel
a2a2a1df2d
Fix permissions on gh-asset-clone.
2018-11-11 16:20:34 +11:00
Will Rouesnel
93736366d9
Update goimport/gofmt of files.
2018-11-11 16:05:05 +11:00
Will Rouesnel
3acec53018
Add gh-assets-clone.sh script.
2018-11-11 16:04:10 +11:00
Will Rouesnel
fec1a171ba
Update README.md
2018-11-11 15:48:27 +11:00
Will Rouesnel
474a600842
Add Postgresql 11 to smoke-tests.
2018-11-11 15:40:09 +11:00
Will Rouesnel
414e9b13c2
Remove -x from smoke-test.
2018-11-11 15:39:51 +11:00
Will Rouesnel
99ff02c6a9
Fix the errors introduced into smoke-test from the refactor.
2018-11-11 15:34:33 +11:00
Will Rouesnel
ae8bea6eb8
Add GIT_API_KEY variable for collecting assets into the repo.
2018-11-11 15:33:06 +11:00
Will Rouesnel
9330d1bc64
Bump Go version.
2018-11-11 15:08:05 +11:00
Will Rouesnel
43072ddaa7
Improve support code quality.
2018-11-11 15:07:07 +11:00
Phil Frost
456ac72430
Document --constantLabels
...
This functionality was added in c225a1e194
but not documented.
2018-11-11 13:55:45 +11:00
Sylvain Rabot
844076cd6d
Add dbname to example to avoid confusion
2018-11-03 01:23:54 +11:00
Greg Stark
5452a3aac6
Postgres commits 6e7baa3227 and b06d8e58b5 added a new unit suffix "B"
...
for memory parameters for bytes.
2018-11-03 01:23:01 +11:00
Daniel Bäurer
42f9de480a
Added pg_statio_user_tables
2018-09-22 15:48:36 +10:00
Robson Roberto Souza Peixoto
e2db729a41
Speedup docker image build
2018-09-22 15:47:35 +10:00