up
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
Symbols Server CI / symbols-smoke (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
Symbols Server CI / symbols-smoke (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
This commit is contained in:
21
ops/devops/symbols/alerts.yaml
Normal file
21
ops/devops/symbols/alerts.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
groups:
|
||||
- name: symbols-availability
|
||||
rules:
|
||||
- alert: SymbolsDown
|
||||
expr: up{job="symbols"} == 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: page
|
||||
service: symbols
|
||||
annotations:
|
||||
summary: "Symbols.Server instance is down"
|
||||
description: "symbols scrape target has been down for 5 minutes"
|
||||
- alert: SymbolsErrorRateHigh
|
||||
expr: rate(http_requests_total{job="symbols",status=~"5.."}[5m]) > 0
|
||||
for: 2m
|
||||
labels:
|
||||
severity: critical
|
||||
service: symbols
|
||||
annotations:
|
||||
summary: "Symbols.Server error rate is elevated"
|
||||
description: "5xx responses detected for Symbols.Server"
|
||||
43
ops/devops/symbols/docker-compose.symbols.yaml
Normal file
43
ops/devops/symbols/docker-compose.symbols.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
mongo:
|
||||
image: mongo:7.0
|
||||
restart: unless-stopped
|
||||
command: ["mongod", "--bind_ip_all"]
|
||||
ports:
|
||||
- "27017:27017"
|
||||
minio:
|
||||
image: minio/minio:RELEASE.2024-08-17T00-00-00Z
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MINIO_ROOT_USER: minio
|
||||
MINIO_ROOT_PASSWORD: minio123
|
||||
command: server /data --console-address :9001
|
||||
ports:
|
||||
- "9000:9000"
|
||||
- "9001:9001"
|
||||
symbols:
|
||||
image: ghcr.io/stella-ops/symbols-server:edge
|
||||
depends_on:
|
||||
- mongo
|
||||
- minio
|
||||
environment:
|
||||
Mongo__ConnectionString: mongodb://mongo:27017/symbols
|
||||
Storage__Provider: S3
|
||||
Storage__S3__Endpoint: http://minio:9000
|
||||
Storage__S3__Bucket: symbols
|
||||
Storage__S3__AccessKeyId: minio
|
||||
Storage__S3__SecretAccessKey: minio123
|
||||
Storage__S3__UsePathStyle: "true"
|
||||
Logging__Console__FormatterName: json
|
||||
ports:
|
||||
- "8080:8080"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fsS", "http://localhost:8080/healthz"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 6
|
||||
start_period: 10s
|
||||
networks:
|
||||
default:
|
||||
name: symbols-ci
|
||||
18
ops/devops/symbols/values.yaml
Normal file
18
ops/devops/symbols/values.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
# Minimal values stub for Symbols.Server deployment
|
||||
image:
|
||||
repository: ghcr.io/stella-ops/symbols-server
|
||||
tag: edge
|
||||
|
||||
mongodb:
|
||||
enabled: true
|
||||
connectionString: "mongodb://mongo:27017/symbols"
|
||||
|
||||
minio:
|
||||
enabled: true
|
||||
endpoint: "http://minio:9000"
|
||||
bucket: "symbols"
|
||||
accessKey: "minio"
|
||||
secretKey: "minio123"
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user