
- API server with ChaCha20-Poly1305 encryption - TypeScript SDK client with full functionality - Complete documentation in docs/ - Environment variable processing with composite variables - HTTPS-only API on port 6666 - Storage structure for configuration files - Tests and examples included Features: - Quantum-resistant encryption (ChaCha20-Poly1305) - Variable substitution from .env files - Comprehensive TypeScript SDK - Full API documentation and specifications - Deployment guides and security model
108 lines
2.5 KiB
YAML
108 lines
2.5 KiB
YAML
server:
|
|
http_listen_port: $PROMTAIL_PORT
|
|
grpc_listen_port: 0
|
|
|
|
positions:
|
|
filename: /tmp/positions.yaml
|
|
|
|
clients:
|
|
- url: $LOKI_URL/loki/api/v1/push
|
|
|
|
scrape_configs:
|
|
# Bitcoin Signet Logs
|
|
- job_name: bitcoin
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: bitcoin
|
|
service: bitcoin-signet
|
|
__path__: $BITCOIN_LOGS_DIR/*.log
|
|
|
|
# Blindbit Oracle Logs
|
|
- job_name: blindbit
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: blindbit
|
|
service: blindbit-oracle
|
|
__path__:$BLINDBIT_LOGS_DIR/*.log
|
|
|
|
# SDK Relay Logs
|
|
- job_name: sdk_relay
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: sdk_relay
|
|
service: sdk_relay
|
|
__path__:$SDK_RELAY_LOGS_DIR/*.log
|
|
|
|
# SDK Storage Logs
|
|
- job_name: sdk_storage
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: sdk_storage
|
|
service: sdk_storage
|
|
__path__: $SDK_STORAGE_LOGS_DIR/*.log
|
|
|
|
# LeCoffre Frontend Logs
|
|
- job_name: lecoffre-front
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: lecoffre-front
|
|
service: lecoffre-front
|
|
__path__: $LECOFFRE_FRONT_LOGS_DIR/*.log
|
|
|
|
# IHM Client Logs
|
|
- job_name: ihm_client
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: ihm_client
|
|
service: ihm_client
|
|
__path__: $IHM_CLIENT_LOGS_DIR/*.log
|
|
|
|
# Miner Logs
|
|
- job_name: miner
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: miner
|
|
service: signet_miner
|
|
__path__:$MINER_LOGS_DIR/*.log
|
|
|
|
# Tor Logs
|
|
- job_name: tor
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: tor
|
|
service: tor-proxy
|
|
__path__: $TOR_LOGS_DIR/*.log
|
|
|
|
# Docker Container Logs
|
|
- job_name: docker
|
|
docker_sd_configs:
|
|
- host: unix:///var/run/docker.sock
|
|
refresh_interval: 5s
|
|
filters:
|
|
- name: label
|
|
values: ["com.centurylinklabs.watchtower.enable=true"]
|
|
relabel_configs:
|
|
- source_labels: ['__meta_docker_container_name']
|
|
regex: '/?(.*)'
|
|
target_label: 'container_name'
|
|
- source_labels: ['__meta_docker_container_log_stream']
|
|
target_label: 'logstream'
|
|
- source_labels: ['__meta_docker_container_label_logging_job_name']
|
|
target_label: 'job'
|