Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
add metrics
Antonio Ojea4302628d374f
diff --git a/.github/k8s/sam-hub-template.yaml b/.github/k8s/sam-hub-template.yamlindex 1b5198af..a0d9e70a 100644--- a/.github/k8s/sam-hub-template.yaml+++ b/.github/k8s/sam-hub-template.yaml@@ -40,8 +40,13 @@ spec:ports:- containerPort: 4001protocol: TCP+ name: libp2p-tcp- containerPort: 4001protocol: UDP+ name: libp2p-udp+ - containerPort: 9090+ protocol: TCP+ name: metricsargs:- "--listen=/ip4/0.0.0.0/tcp/4001,/ip4/0.0.0.0/udp/4001/quic-v1"- "--external-multiaddr=${EXTERNAL_MULTIADDR}"@@ -54,3 +59,17 @@ spec:limits:cpu: 500mmemory: 512Mi+---+apiVersion: monitoring.googleapis.com/v1+kind: PodMonitoring+metadata:+ name: sam-hub-monitor-${ENV_NAME}+ namespace: ${NAMESPACE}+spec:+ selector:+ matchLabels:+ app: sam-hub-${ENV_NAME}+ endpoints:+ - port: metrics+ interval: 30s+ path: /metrics