PT-1891 Fixed mongodb-summary connection with ssl (#469)

* PT-1891 Fixed mongodb-summary connection with ssl

- Added SSL connection options
- Fixed old tests
- Replaced gofmt by gofumpt in Makefile
- There are no ssl test for mongodb-summary because the current sandbox
doesnt support it

* PT-1891 Ran gofumports

* PMM-1891 Fixes for CR

* PT-1891 Decreased minimum TLS reqs for compatibility
This commit is contained in:
Carlos Salguero
2020-11-02 17:13:29 -03:00
committed by GitHub
parent e731cf4d83
commit ff6b05b381
35 changed files with 286 additions and 136 deletions

View File

@@ -11,10 +11,8 @@ import (
"go.mongodb.org/mongo-driver/mongo"
)
var (
// DocsBufferSize is the buffer size to store documents from the MongoDB profiler
DocsBufferSize = 100
)
// DocsBufferSize is the buffer size to store documents from the MongoDB profiler
var DocsBufferSize = 100
// Profiler interface
type Profiler interface {