Thomas Paradis
0523537d20
Expose the severity of unsupported lines
2021-04-14 12:41:37 +02:00
Thomas Paradis
4470123df6
Track the number of expired emails form logs
2021-04-14 11:06:44 +02:00
Thomas Paradis
8966f65067
Add another metric for mails delivered locally
2021-04-07 15:44:52 +02:00
Thomas Paradis
6531beb3a7
Add metric for non delivery notifications from bounce
2021-04-07 15:31:44 +02:00
Thomas Paradis
3abd6f4572
Add metric by status for all message processed by smtp
2021-04-07 15:21:26 +02: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
1edadd0857
Revert "Adds a Docker log source."
2021-03-16 15:19:10 +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
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
Martin Körper
b07b6f4abf
fix smtpd TLS connection regex
2020-05-23 16:28:33 +02: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
Per Abich
63673cda15
Merge branch 'Added-missing-descriptions'
2020-02-25 11:42:10 +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
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
d23c664b65
Fixing merge issues
2020-02-19 18:10:45 +01:00
Per Abich
b268207758
Merge remote-tracking branch 'digineo/refactoring' into digineo-updates
...
# Conflicts:
# postfix_exporter.go
2020-02-19 17:57:34 +01:00
Per Abich
7428bf432b
Added better counting of unsupported lines
2020-02-19 13:08:47 +01:00
Per Abich
3af4390187
- Added flag for logging lines that were not processed (mainly for debugging/development)
...
- Added Counter for smtp Connection Timed Out events
- Added counter for OpenDKIM signatures added
2020-02-18 16:54:25 +01:00
Per Abich
574e478b44
Removed unused variable
2020-02-18 15:32:44 +01:00
Per Abich
26d0642831
Moved the collection of stats into its own go routine
2020-02-18 15:31:07 +01:00
Per Abich
72c753ff7d
Merge remote-tracking branch 'netlogix/nlx_master'
...
# Conflicts:
# postfix_exporter.go
2020-02-18 12:50:41 +01:00
Per Abich
b0a28deeca
Added logging of log event source
2020-02-12 13:39:13 +01:00
Tim Stoop
9f69ed3c47
Merge pull request #29 from CamilionEU/evilham-new-metrics
...
New metrics cleanupNotAccepted and smtpDeferreds.
2019-07-25 14:02:21 +02:00
Azanx
689aedff1c
replace prometheus.Handler with promhttp.Handler
2019-06-20 16:45:51 +02:00
Andre Ponert
18a48b8d7d
[FIX] made metric smtp_status_deferred actually work
2019-04-15 19:48:49 +02:00
Andre Ponert
5ceffcde75
[FIX] consistent variable names
2019-04-15 18:57:32 +02:00
Andre Ponert
b925d46fcb
Added support for status=deferred metric
2019-04-15 18:46:11 +02:00
Evilham
114311033f
New metrics cleanupNotAccepted and smtpDeferreds.
...
This adds support for two new metrics:
* `cleanup_messages_not_accepted_total`
* `smtp_deferred_messages_total`.
2019-03-07 17:59:04 +01:00
Julian Kornberger
43221afdb0
Move main function to main.go
2019-02-21 00:04:06 +01:00
Julian Kornberger
7072c5242f
Small refactoring
2019-02-21 00:04:06 +01:00
Julian Kornberger
243cb79779
Reduce indentation
2019-02-21 00:04:06 +01:00
Bart Vercoulen
a4e09a2c37
Merge branch 'master' into tail
2019-02-15 10:53:21 +01:00
Bart Vercoulen
d73bd20065
Fixed formatting.
2019-02-15 10:41:53 +01:00
Bart Vercoulen
f51b1f882d
Refactored to kingpin and fixed a EOF bug in CollectShowqFromReader.
2018-12-17 17:01:01 +01:00
Mario Trangoni
4d195655fd
postfix_exporter.go: Fix megacheck issues
...
See,
$ gometalinter --vendor --deadline 10m --disable-all --enable=megacheck ./...
postfix_exporter.go:97:17⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:276:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:277:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:278:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:279:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:280:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:281:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:282:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:283:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:284:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
postfix_exporter.go:285:40⚠️ should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) (megacheck)
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2018-12-16 10:56:41 +01:00
Mario Trangoni
76f8dd448b
postfix_exporter.go: Comment out unused CollectShowqFromFile
function
...
See,
$ gometalinter --vendor ./...
postfix_exporter.go:256:1⚠️ CollectShowqFromFile is unused
(deadcode)
2018-12-04 16:50:01 +01:00
Mario Trangoni
7fa2e37607
postfix_exporter.go: Fix some gosec issues.
...
See,
$ gometalinter --vendor ./...
postfix_exporter.go:249:⚠️ Potential file inclusion via variable,MEDIUM,HIGH (gosec)
postfix_exporter.go:80:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:121:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:296:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:298:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:300:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:302:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:309:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:311:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:313:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:315:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:322:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:324:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:333:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:335:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:337:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:339:⚠️ Errors unhandled.,LOW,HIGH (gosec)
postfix_exporter.go:650:⚠️ Errors unhandled.,LOW,HIGH (gosec)
2018-12-04 16:48:06 +01:00
Evan Klitzke
b137412906
When following log files, tail them rather than truncate them.
2018-09-30 15:28:04 -07:00
Silke
0c405faf87
Add nosystemd build tag
...
This allows building the exporter without systemd headers, eg:
env CGO_ENABLED=0 go build -tags nosystemd
Closes #11
2018-04-19 13:34:18 +02:00
WilliButz
ec3a8e5444
fix non-updating metrics from systemd-journal
...
fixes #10 where metrics metrics collected from the
systemd journal were not updated after some time
2018-04-15 15:47:06 +02:00