Closed theguild-bot closed 2 months ago
rc
)The latest changes of this PR are available as rc on npm (based on the declared changesets ): |
Package | Version | Info |
---|---|---|---|
@envelop/opentelemetry |
6.3.1-rc-20240506122222-88fbfd26 |
npm āļø unpkg āļø |
ā no_errors
ā expected_result
checks.............................................: 100.00% ā 873756 ā 0
ā { mode:envelop-cache-and-no-internal-tracing }...: 100.00% ā 212754 ā 0
ā { mode:envelop-cache-jit }.......................: 100.00% ā 335222 ā 0
ā { mode:envelop-just-cache }......................: 100.00% ā 211594 ā 0
ā { mode:graphql-js }..............................: 100.00% ā 114186 ā 0
data_received......................................: 3.3 GB 28 MB/s
data_sent..........................................: 190 MB 1.6 MB/s
envelop_init.......................................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-cache-jit }.......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-just-cache }......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:graphql-js }..............................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
envelop_total......................................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-cache-jit }.......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-just-cache }......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:graphql-js }..............................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
event_loop_lag.....................................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-cache-and-no-internal-tracing }...: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-cache-jit }.......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-just-cache }......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:graphql-js }..............................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
graphql_context....................................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-cache-jit }.......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-just-cache }......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:graphql-js }..............................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
graphql_execute....................................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-cache-jit }.......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-just-cache }......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:graphql-js }..............................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
graphql_parse......................................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-cache-jit }.......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-just-cache }......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:graphql-js }..............................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
graphql_validate...................................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-cache-jit }.......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:envelop-just-cache }......................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
ā { mode:graphql-js }..............................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_blocked...................................: avg=1.86Āµs min=731ns med=1.64Āµs max=9.64ms p(90)=2.23Āµs p(95)=2.41Āµs
http_req_connecting................................: avg=16ns min=0s med=0s max=1.09ms p(90)=0s p(95)=0s
http_req_duration..................................: avg=2.46ms min=158.84Āµs med=2.13ms max=84.65ms p(90)=4.48ms p(95)=4.94ms
{ expected_response:true }.......................: avg=2.46ms min=158.84Āµs med=2.13ms max=84.65ms p(90)=4.48ms p(95)=4.94ms
ā { mode:envelop-cache-and-no-internal-tracing }...: avg=2.55ms min=367.92Āµs med=2.24ms max=21.16ms p(90)=4.43ms p(95)=4.82ms
ā { mode:envelop-cache-jit }.......................: avg=1.5ms min=158.84Āµs med=1.2ms max=18.45ms p(90)=2.45ms p(95)=2.61ms
ā { mode:envelop-just-cache }......................: avg=2.55ms min=390.28Āµs med=2.23ms max=34.76ms p(90)=4.41ms p(95)=4.82ms
ā { mode:graphql-js }..............................: avg=4.99ms min=687.28Āµs med=4.21ms max=84.65ms p(90)=8.4ms p(95)=9.09ms
http_req_failed....................................: 0.00% ā 0 ā 436878
http_req_receiving.................................: avg=31.25Āµs min=12.6Āµs med=27.7Āµs max=18.04ms p(90)=41.52Āµs p(95)=46.69Āµs
http_req_sending...................................: avg=11.93Āµs min=4.19Āµs med=9.99Āµs max=12.04ms p(90)=13.99Āµs p(95)=17.73Āµs
http_req_tls_handshaking...........................: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...................................: avg=2.42ms min=132.59Āµs med=2.08ms max=84.5ms p(90)=4.43ms p(95)=4.89ms
http_reqs..........................................: 436878 3640.507199/s
iteration_duration.................................: avg=2.73ms min=358.49Āµs med=2.38ms max=85.12ms p(90)=4.75ms p(95)=5.24ms
iterations.........................................: 436878 3640.507199/s
vus................................................: 10 min=10 max=10
vus_max............................................: 20 min=20 max=20
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@envelop/prometheus@10.0.0
Major Changes
#2217
7ac1d3c
Thanks @EmrysMyrddin! - Adds a cache for metrics definition (Summary, Histogram and Counter).Fixes an issue preventing this plugin to be initialized multiple times, leading to metrics duplication error (https://github.com/ardatan/graphql-mesh/issues/6545).
Behavior Breaking Change:
Due to Prometheus client API limitations, a metric is only defined once for a given registry. This means that if the configuration of the metrics, it will be silently ignored on plugin re-initialization.
This is to avoid potential loss of metrics data produced between the plugin re-initialization and the last pull by the prometheus agent.
If you need to be sure metrics configuration is up to date after a plugin re-initialization, you can either:
registry.clear()
before plugin re-initialization:Keep in mind that this implies potential data loss in pull mode.
API Breaking Change:
To ensure metrics from being registered multiple times on the same registry, the signature of
createHistogram
,createSummary
andcreateCounter
have been changed to now include the registry as a mandatory parameter.If you were customizing metrics parameters, you will need to update the metric definitions
Patch Changes
dc1222f
]:@envelop/core@5.0.1
Patch Changes
dc1222f
Thanks @benjie! - feat: adduseValidationRule()
plugin@envelop/opentelemetry@6.3.1
Patch Changes
#2218
75b73fb
Thanks @EmrysMyrddin! - dependencies updates:@opentelemetry/api@^1.8.0
āļø (from^1.0.0
, independencies
)Updated dependencies [
dc1222f
]: