Skip to main content
Glama
servicemonitor.yaml1.66 kB
{{- if .Values.serviceMonitor.enabled -}} apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: {{ include "lunar-proxy.fullname" . }} namespace: {{ default .Release.Namespace .Values.serviceMonitor.namespace }} {{- with .Values.serviceMonitor.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} labels: {{- include "lunar-proxy.labels" . | nindent 4 }} {{- with .Values.serviceMonitor.additionalLabels }} {{- toYaml . | nindent 4 }} {{- end }} spec: jobLabel: {{ .Release.Name }} namespaceSelector: matchNames: - {{ default .Release.Namespace }} selector: matchLabels: {{- include "lunar-proxy.selectorLabels" . | nindent 6 }} endpoints: - port: "metrics" path: /metrics {{- with .Values.serviceMonitor.interval }} interval: {{ . }} {{- end }} {{- with .Values.serviceMonitor.scheme }} scheme: {{ . }} {{- end }} {{- with .Values.serviceMonitor.bearerTokenFile }} bearerTokenFile: {{ . }} {{- end }} {{- with .Values.serviceMonitor.tlsConfig }} tlsConfig: {{- toYaml .| nindent 8 }} {{- end }} {{- with .Values.serviceMonitor.scrapeTimeout }} scrapeTimeout: {{ . }} {{- end }} {{- with .Values.serviceMonitor.metricRelabelings }} metricRelabelings: {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.serviceMonitor.relabelings }} relabelings: {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.serviceMonitor.targetLabels }} targetLabels: {{- toYaml . | nindent 4 }} {{- end }} {{- end }}

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