We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/get-convex/convex-backend'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
use metrics::{
log_counter,
log_counter_with_labels,
register_convex_counter,
IntoLabel,
StaticMetricLabel,
};
register_convex_counter!(
TRANSACTION_INDEX_CACHE_HIT_TOTAL,
"Count of transaction index cache reads, labeled with cache hits",
&["hit"]
);
pub fn log_transaction_cache_query(hit: bool) {
log_counter_with_labels(
&TRANSACTION_INDEX_CACHE_HIT_TOTAL,
1,
vec![StaticMetricLabel::new("hit", hit.as_label())],
);
}
register_convex_counter!(
TRANSACTION_INDEX_CACHE_CLEARED_TOTAL,
"Count of times transaction cache was cleared"
);
pub fn log_index_cache_cleared() {
log_counter(&TRANSACTION_INDEX_CACHE_CLEARED_TOTAL, 1);
}