Skip to main content
Glama
servicemonitor.yaml1.25 kB
{{- if and .Values.serviceMonitor.enabled (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") -}} apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: {{ include "karpenter.fullname" . }} namespace: {{ .Release.Namespace }} labels: {{- include "karpenter.labels" . | nindent 4 }} {{- with .Values.serviceMonitor.additionalLabels }} {{- toYaml . | nindent 4 }} {{- end }} {{- with .Values.additionalAnnotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} spec: namespaceSelector: matchNames: - {{ .Release.Namespace }} selector: matchLabels: {{- include "karpenter.selectorLabels" . | nindent 6 }} {{- if not (eq .Values.serviceMonitor.sampleLimit nil) }} sampleLimit: {{ .Values.serviceMonitor.sampleLimit }} {{- end }} endpoints: - port: http-metrics path: /metrics {{- with .Values.serviceMonitor.relabelings }} relabelings: {{- toYaml . | nindent 6 }} {{- end }} {{- with .Values.serviceMonitor.metricRelabelings }} metricRelabelings: {{- toYaml . | nindent 6 }} {{- end }} {{- with .Values.serviceMonitor.endpointConfig }} {{- toYaml . | nindent 6 }} {{- end }} {{- end -}}

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/mengfwan/test-mcp-glama'

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