Martti T.

Results 364 comments of Martti T.

> Can share more about your use case? e.g. how many writes of those with s and with ns precision per sec (or per min) We have data logging application...

I think: 1. too many things are used at pointers. ala https://github.com/influxdata/influxdb-client-go/blob/fa15edd8bd9549750d2f93b6ccb386434df63fbe/api/query/table.go#L18 this makes usage of those fields annoying. Passing values is perfectly OK for most of the thing in...

no idea but you do not need them. Handler uses prometheus global objects and necessary handler can be created and served from/by ordinary http.Server This is how handler is created...

We have had that idea. That JWT lib [problem](https://github.com/labstack/echo/issues/1647) triggered that idea for me personally. At the moment we do not have clear plan how and when it should be...

> I wonder if monorepo for middlewares with each middleware split into different modules with their own go.mod go.sum files would work with go mod. replying to myself: semantic versioning...

Go [1.17](https://golang.org/doc/go1.17) has some nice features > if the main module specifies go 1.17 or higher the go tool no longer reads (or even downloads) go.mod files for dependencies if...

Does your request contains necessary headers? Compression is applied only when there is `Accept-Encoding` present https://github.com/labstack/echo/blob/d604704563de63e42a352ffc51b6d633d9d595e3/middleware/compress.go#L72

Probably not a problem anymore. Just a note - Jaeger docs say https://github.com/jaegertracing/jaeger-client-go#environment-variables > The tracer can be initialized with values coming from environment variables, if it is built from...

`Prometheus` is already that "struct" but with those methods and private fields it also much more. starting servers and stuff like that. I think there should be clearer separation of...

This is old. Probably not relevant anymore. Config has tracer field. that one is not suitable? https://github.com/labstack/echo-contrib/blob/4d116eef4725384df66e4c4d079254bc53ae2d54/jaegertracing/jaegertracing.go#L50