|
427 | 427 | "description": "The maximum total size of messages allowed in the producer queues.", |
428 | 428 | "features": [] |
429 | 429 | }, |
| 430 | + { |
| 431 | + "type": "Timer", |
| 432 | + "name": "legacy_project_cache.task.duration", |
| 433 | + "description": "Timing in milliseconds for processing a task in the legacy project cache service.\n\nA task is a unit of work the service does. Each branch of the\n`tokio::select` is a different task type.\n\nThis metric is tagged with:\n- `task`: The type of the task the project cache does.", |
| 434 | + "features": [] |
| 435 | + }, |
430 | 436 | { |
431 | 437 | "type": "Timer", |
432 | 438 | "name": "metrics.aggregator.message.duration", |
|
605 | 611 | "description": "Number of evicted stale projects from the cache.\n\nRelay scans the in-memory project cache for stale entries in a regular interval configured\nby `cache.eviction_interval`.\n\nThe cache duration for project states can be configured with the following options:\n\n- `cache.project_expiry`: The time after which a project state counts as expired. It is\nautomatically refreshed if a request references the project after it has expired.\n- `cache.project_grace_period`: The time after expiry at which the project state will still\nbe used to ingest events. Once the grace period expires, the cache is evicted and new\nrequests wait for an update.", |
606 | 612 | "features": [] |
607 | 613 | }, |
608 | | - { |
609 | | - "type": "Gauge", |
610 | | - "name": "project_cache.garbage.queue_size", |
611 | | - "description": "The number of items currently in the garbage disposal queue.", |
612 | | - "features": [] |
613 | | - }, |
614 | 614 | { |
615 | 615 | "type": "Counter", |
616 | 616 | "name": "project_cache.hit", |
617 | 617 | "description": "Number of times a project is looked up from the cache.\n\nThe cache may contain and outdated or expired project state. In that case, the project state\nis updated even after a cache hit.", |
618 | 618 | "features": [] |
619 | 619 | }, |
620 | | - { |
621 | | - "type": "Timer", |
622 | | - "name": "project_cache.message.duration", |
623 | | - "description": "Timing in milliseconds for handling a project cache message.\n\nThis metric is tagged with:\n- `message`: The type of message that was processed.", |
624 | | - "features": [] |
625 | | - }, |
626 | 620 | { |
627 | 621 | "type": "Counter", |
628 | 622 | "name": "project_cache.miss", |
|
638 | 632 | { |
639 | 633 | "type": "Timer", |
640 | 634 | "name": "project_cache.task.duration", |
641 | | - "description": "Timing in milliseconds for processing a task in the project cache service.\n\nA task is a unit of work the service does. Each branch of the\n`tokio::select` is a different task type.\n\nThis metric is tagged with:\n- `task`: The type of the task the processor does.", |
| 635 | + "description": "Timing in milliseconds for processing a task in the project cache service.\n\nThis metric is tagged with:\n- `task`: The type of the task the project cache does.", |
642 | 636 | "features": [] |
643 | 637 | }, |
644 | 638 | { |
|
655 | 649 | "processing" |
656 | 650 | ] |
657 | 651 | }, |
658 | | - { |
659 | | - "type": "Timer", |
660 | | - "name": "project_state.eviction.duration", |
661 | | - "description": "Total time in milliseconds spent evicting outdated and unused projects happens.", |
662 | | - "features": [] |
663 | | - }, |
664 | | - { |
665 | | - "type": "Counter", |
666 | | - "name": "project_state.get", |
667 | | - "description": "Number of times a project state is looked up from the cache.\n\nThis includes lookups for both cached and new projects. As part of this, updates for\noutdated or expired project caches are triggered.\n\nRelated metrics:\n- `project_cache.hit`: For successful cache lookups, even for outdated projects.\n- `project_cache.miss`: For failed lookups resulting in an update.", |
668 | | - "features": [] |
669 | | - }, |
670 | 652 | { |
671 | 653 | "type": "Counter", |
672 | 654 | "name": "project_state.metrics.no_project", |
673 | 655 | "description": "The amount of times metrics of a project have been flushed without the project being\nfetched/available.", |
674 | 656 | "features": [] |
675 | 657 | }, |
676 | | - { |
677 | | - "type": "Counter", |
678 | | - "name": "project_state.no_cache", |
679 | | - "description": "Number of times a project config was requested with `.no-cache`.\n\nThis effectively counts the number of envelopes or events that have been sent with a\ncorresponding DSN. Actual queries to the upstream may still be deduplicated for these\nproject state requests.\n\nA maximum of 1 such requests per second is allowed per project key. This metric counts only\npermitted requests.", |
680 | | - "features": [] |
681 | | - }, |
682 | 658 | { |
683 | 659 | "type": "Histogram", |
684 | 660 | "name": "project_state.pending", |
|
0 commit comments