PromPHP / prometheus_client_php

Prometheus instrumentation library for PHP applications
https://prometheus.io/docs/concepts/metric_types/
Apache License 2.0
415 stars 91 forks source link

Summary meta key goes missing #124

Open lightindigo opened 1 year ago

lightindigo commented 1 year ago

While using PromPhP's summary with APCng we get "Meta info missing for meta key: prom:summary:" from time to time.

As far as I see it really goes missing after some time. Key when present definitely has no timeout

APC is configured ttl = 0, memory capacity is far from depletion (like 200k/32M)

The metric itself is written something like this

$summary = $registry->getOrRegisterSummary(
    self::APP_NAMESPACE,
    MetricNames::DB_QUERIES_PER_REQUEST,
    'Db requests per request',
    [],
    600,
    self::DEFAULT_QUANTILES
);
$summary->observe($numRequests);
votetake commented 8 months ago

Hello team, any news?

pyanukovich commented 4 months ago

Is there some information about meta info missing for the meta key: prom:summary: apc with ttl = 0?

pyanukovich commented 4 months ago

Seems similar to https://github.com/PromPHP/prometheus_client_php/issues/126