Open cbix opened 11 months ago
@cbix so send a PR?
maybe even better add >= 15
, so, that if some version is broken it can't be dealt with, otherwise assume working.
It doesn't work when you simply update the version. It has type error
@bmatei/apollo-prometheus-exporter/context.d.ts:31:28 - error TS2314: Generic type 'DefaultMetricsCollectorConfiguration<T>' requires 1 type argument(s).
I have the same error, at the moment I work with prom-client v.14.0.2 but when we work with prom client v15.0.0 we have the same error of @lala7573
its interesting how they're using version 3 of prometheus and 15.1 of prom-client: https://github.com/aahlborn/omnivore/blob/67c5de6512ebdf7bf3b03390d928507f34a54a41/packages/api/package.json
The peer-dependency
prom-client
recently released version 15.0.0, however when installing that I getI didn't test for full compatibility yet but if it's not a breaking change, it might be sufficient to just add
|| ^15.0.0
.