fetch_ml/monitoring/promtail-performance-config.yaml
Jeremie Fraeys ea15af1833 Fix multi-user authentication and clean up debug code
- Fix YAML tags in auth config struct (json -> yaml)
- Update CLI configs to use pre-hashed API keys
- Remove double hashing in WebSocket client
- Fix port mapping (9102 -> 9103) in CLI commands
- Update permission keys to use jobs:read, jobs:create, etc.
- Clean up all debug logging from CLI and server
- All user roles now authenticate correctly:
  * Admin: Can queue jobs and see all jobs
  * Researcher: Can queue jobs and see own jobs
  * Analyst: Can see status (read-only access)

Multi-user authentication is now fully functional.
2025-12-06 12:35:32 -05:00

50 lines
976 B
YAML

server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
scrape_configs:
- job_name: fetchml-performance
static_configs:
- targets:
- localhost
labels:
job: fetchml-performance
__path__: /reports/performance.log
pipeline_stages:
- json:
expressions:
timestamp: timestamp
git_commit: git_commit
benchmark_name: name
time_per_op: time_per_op_ns
memory_per_op: memory_per_op_b
allocs_per_op: allocs_per_op
- labels:
benchmark_name:
git_commit:
- output:
source: output
- job_name: fetchml-performance-summary
static_configs:
- targets:
- localhost
labels:
job: fetchml-performance
__path__: /reports/performance_summary.log
pipeline_stages:
- regex:
expression: "=== Performance Summary ==="
- output:
source: output