We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcpjungle/MCPJungle'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
package telemetry
import (
"context"
"time"
)
// NoopCustomMetrics is a no-op implementation of CustomMetrics that does nothing and adds minimal overhead.
// This should be used when metrics are disabled or not needed.
type NoopCustomMetrics struct{}
// NewNoopCustomMetrics returns a no-op implementation of CustomMetrics.
func NewNoopCustomMetrics() CustomMetrics {
return &NoopCustomMetrics{}
}
func (m *NoopCustomMetrics) RecordToolCall(
ctx context.Context, serverName, toolName string, outcome ToolCallOutcome, elapsedTime time.Duration,
) {
// No-op
}
func (m *NoopCustomMetrics) RecordPromptCall(
ctx context.Context, serverName, promptName string, outcome PromptCallOutcome, elapsedTime time.Duration,
) {
// No-op
}