Skip to main content
Glama
flows_traffic_metrics.feature•1.31 kB
@flows Feature: Lunar Proxy With Flows - traffic should be measured Background: Starts the Proxy Given API Provider is up # The next 2 steps are mandatory in order to clean OTEL state. # TODO use future `reset` functionality instead and save some time đź’Ş Given Lunar Proxy is down And Lunar Proxy env var `LUNAR_STREAMS_ENABLED` set to `true` And Lunar Proxy is up Scenario: API Call Count is exported to Prometheus metric server When Basic rate limit flow created for httpbinmock/* with 5 requests per 1 seconds And flow file is saved And resource file is saved And load_flows command is run And next epoch-based 1 seconds window arrives And A request to httpbinmock /status/200 is made through Lunar Proxy And A request to httpbinmock /status/200 is made through Lunar Proxy And A request to httpbinmock /status/200 is made through Lunar Proxy And next epoch-based 1 seconds window arrives And A request to httpbinmock /status/200 is made through Lunar Proxy And next epoch-based 1 seconds window arrives Then There is a counter named api_call_count with the value 4

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheLunarCompany/lunar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server