Tommie Gannert
f1d5d0ad4d
Adds a Docker log source.
...
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.
The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2021-03-16 15:37:29 +01:00
Tommie Gannert
82fa993361
Splits the log source handling with a pluggable interface.
...
Provides a cleaner split between log sources, specifically for not
compiling with systemd libraries.
This is in preparation for a new log source to read from Docker.
2021-03-16 15:36:56 +01:00
Bart Vercoulen
efcf24731b
Merge pull request #72 from kumina/revert-60-docker
...
Revert "Adds a Docker log source."
2021-03-16 15:19:52 +01:00
Bart Vercoulen
1edadd0857
Revert "Adds a Docker log source."
2021-03-16 15:19:10 +01:00
Bart Vercoulen
9d314608ff
Merge pull request #60 from tommie/docker
...
Adds a Docker log source.
2021-03-16 12:24:33 +01:00
Bart Vercoulen
de70743c99
Merge branch 'master' into docker
2021-03-16 12:23:51 +01:00
Bart Vercoulen
40c13b6ca0
Merge pull request #64 from k-kinzal/fixes-systemd-support
...
fixes an issue where can't get metrics in systemd journal
2021-03-12 10:52:58 +01:00
Bart Vercoulen
01f0d6c331
Merge pull request #50 from UnikumAB/time-based-buckets
...
Changed bucket sizes for Time measurements
2021-03-12 10:40:22 +01:00
cw-ozaki
4dda50457d
fixes an issue where can't get metrics in systemd journal
2020-07-20 22:12:44 +09:00
Tommie Gannert
c588b342a0
Adds a Docker log source.
...
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.
The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2020-07-02 10:22:01 +02:00
Tommie Gannert
1451d25af5
Splits the log source handling with a pluggable interface.
...
Provides a cleaner split between log sources, specifically for not
compiling with systemd libraries.
This is in preparation for a new log source to read from Docker.
2020-07-02 10:21:25 +02:00
Bart Vercoulen
8e63fbbe8d
Merge pull request #54 from k-kinzal/fixes-panic-logfilepath-empty
...
fixes panic appears when tailer is nil
2020-06-30 15:10:33 +02:00
Bart Vercoulen
bbcbead832
Merge pull request #57 from pard68/UPDATE/readme
...
Updated README
2020-06-30 14:45:04 +02:00
Bart Vercoulen
533b55d280
Merge pull request #58 from martinkoerper/fix-regex
...
fix smtpd TLS connection regex
2020-06-30 14:42:36 +02:00
Martin Körper
b07b6f4abf
fix smtpd TLS connection regex
2020-05-23 16:28:33 +02:00
Ian S. Pringle
046eb3dd8c
Updated README
...
- Previously the README directed readers to look inside of `main.go` in
order to see the various flags. I found this to be unacceptable and I
have updated the README with flags from both `main.go` and
`systemd.go` I could not find any further flags however I could be
missing something.
- Updated the description in the README to be less verbose.
2020-05-15 08:24:11 -04:00
cw-ozaki
a85bda5e49
fixes panic appears when tailer is nil
2020-04-23 11:07:38 +09:00
Per Abich
9cfeea8536
Made the buckets sizes for Histograms measuring seconds into more "human" timspans (minutes, hours, days)
2020-02-28 15:05:52 +01:00
Ivaylo Korakov
b0b31e3bab
Merge branch 'master' of github.com:kumina/postfix_exporter
2020-02-26 21:41:09 +01:00
Ivaylo Korakov
e17ab80d64
Merge branch 'UnikumAB-master'
2020-02-26 21:40:44 +01:00
Ivaylo Korakov
805425c2b1
Merge pull request #45 from UnikumAB/Added-missing-descriptions
...
Added missing descriptions
2020-02-26 21:33:47 +01:00
Per Abich
a8a53bd934
Merge branch 'Fixing-startup-flag'
...
* Fixing-startup-flag:
#14 : Removed leftover info about truncating the logfile. Also changed thhe default to maillog since that is the normal file postfix uses.
2020-02-26 11:37:30 +01:00
Per Abich
d03d270607
#14 : Removed leftover info about truncating the logfile. Also changed thhe default to maillog since that is the normal file postfix uses.
2020-02-26 11:36:35 +01:00
Per Abich
63673cda15
Merge branch 'Added-missing-descriptions'
2020-02-25 11:42:10 +01:00
Per Abich
23c29672fc
Better config for travis
...
(cherry picked from commit 9daef831b3
)
2020-02-25 11:40:11 +01:00
Per Abich
8dd22155dc
Added libsystemd-dev package to travis build env.
...
(cherry picked from commit be9aeb48ac
)
2020-02-25 11:40:11 +01:00
Per Abich
208f99cee2
Added Travis config file
...
(cherry picked from commit 3e20a86b1d
)
2020-02-25 11:40:11 +01:00
Per Abich
1456fb0095
Added Travis config file
...
(cherry picked from commit a1f115bef9
)
2020-02-25 11:40:11 +01:00
Per Abich
9daef831b3
Better config for travis
2020-02-25 11:04:53 +01:00
Per Abich
be9aeb48ac
Added libsystemd-dev package to travis build env.
2020-02-25 10:55:38 +01:00
Per Abich
3e20a86b1d
Added Travis config file
2020-02-25 10:50:16 +01:00
Per Abich
a1f115bef9
Added Travis config file
2020-02-25 10:39:00 +01:00
Per Abich
b17eed2ad7
Fixing issue with collecting smtpdProcesses without Sasl
2020-02-24 16:44:29 +01:00
Per Abich
ca63474631
Fixing issue with collecting delays
...
(cherry picked from commit 384943fe47c327667fbb21e5ec5ea40e048454a1)
2020-02-24 16:27:17 +01:00
Per Abich
02162353c1
Merge remote-tracking branch 'kumina/master'
2020-02-24 16:03:53 +01:00
Per Abich
bc2175fb01
Adding some test for the showq part. Found a minor bug.
2020-02-24 15:42:20 +01:00
Ivaylo Korakov
52ac4648f4
Merge pull request #44 from UnikumAB/Issue#38
...
Fixes #38 List of postfix_smtpd_messages_processed_total growing over time
2020-02-24 11:18:16 +01:00
Ivaylo Korakov
7fff1561e0
Merge pull request #43 from UnikumAB/Issue#35
...
Fixes issue #35 smtpTLSLine doesn't match
2020-02-24 11:13:23 +01:00
Per Abich
9800cf83cc
Added missing descriptions
2020-02-24 10:27:53 +01:00
Per Abich
8113240edf
Reduced the cardinality of postfix_smtpd_messages_processed_total for #38 by not aggregating per user but only for the sasl_method
2020-02-23 20:41:35 +01:00
Per Abich
0ca70fa8cb
Created a test for Issue #35 and suggested a solution
2020-02-22 22:43:26 +01:00
Per Abich
0436fed067
Making test easier to use
2020-02-22 17:06:44 +01:00
Ivaylo Korakov
69a7101dc6
Merge pull request #42 from kumina/UnikumAB/master
...
small thing
2020-02-21 12:13:47 +01:00
Ivaylo Korakov
75851911ef
Merge pull request #40 from UnikumAB/master
...
VGO, simple test and some minor cleanup
2020-02-21 12:13:04 +01:00
Ivaylo Korakov
853b8806bd
small thing
2020-02-21 12:11:58 +01:00
Per Abich
c598c828be
Merge pull request #2 from UnikumAB/digineo-updates
...
Digineo updates
2020-02-19 18:21:39 +01:00
Per Abich
2e1ca8fd52
ran "go mod tidy" after merge
2020-02-19 18:18:31 +01:00
Per Abich
fd473ea329
Merge remote-tracking branch 'digineo/gomod' into digineo-updates
...
# Conflicts:
# Dockerfile
# go.mod
# go.sum
2020-02-19 18:16:20 +01:00
Per Abich
30711892c6
added go.sum
2020-02-19 18:11:52 +01:00
Per Abich
d23c664b65
Fixing merge issues
2020-02-19 18:10:45 +01:00