European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Enumeration MetricName

    Typed metric name constants for MCP server and EP API instrumentation.

    Using an enum prevents typos in metric names and enables IDE auto-complete throughout the codebase.

    metricsService.incrementCounter(MetricName.EP_API_CALL_COUNT, 1);
    metricsService.incrementCounter(MetricName.EP_CACHE_HIT_COUNT, 1);
    Index

    Enumeration Members

    EP_API_CALL_COUNT: "ep_api_call_count"

    Total EP API calls (label: endpoint)

    EP_API_ERROR_COUNT: "ep_api_error_count"

    Failed EP API calls

    EP_CACHE_HIT_COUNT: "ep_cache_hit_count"

    Cache hits for EP API responses

    EP_CACHE_MISS_COUNT: "ep_cache_miss_count"

    Cache misses for EP API responses