diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..95f7b22 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: go + +matrix: + include: + - go: 1.13.x + env: VET=1 GO111MODULE=on + - go: 1.13.x + env: RACE=1 GO111MODULE=on + - go: 1.13.x + env: RUN386=1 + - go: 1.12.x + env: GO111MODULE=on + - go: 1.11.x + env: GO111MODULE=on + - go: stable + +addons: + apt: + packages: + - libsystemd-dev + +env: + global: + GO111MODULE: on \ No newline at end of file diff --git a/postfix_exporter.go b/postfix_exporter.go index 4bbe70c..25d31d8 100644 --- a/postfix_exporter.go +++ b/postfix_exporter.go @@ -625,6 +625,8 @@ func (e *PostfixExporter) Describe(ch chan<- *prometheus.Desc) { e.smtpdTLSConnects.Describe(ch) ch <- e.smtpStatusDeferred.Desc() e.unsupportedLogEntries.Describe(ch) + e.smtpConnectionTimedOut.Describe(ch) + e.opendkimSignatureAdded.Describe(ch) } func (e *PostfixExporter) foreverCollectFromJournal(ctx context.Context) {