Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/core-build-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,18 @@ jobs:
working-directory: cli
run: cargo test --locked

test-mcp:
name: Test MCP
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Test MCP
working-directory: mcp
run: cargo test --locked

build-core-components:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -142,3 +154,25 @@ jobs:
- name: Cleanup build artifacts
run: |
docker system prune -f

build-metrics-alpine:
runs-on : alpine-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build metrics image(alpine)
run: |
cd core
chmod +x metrics-build-alpine.sh
echo "🚀 Starting CortexFlow Metrics build..."
./metrics-build-alpine.sh || { echo "❌ Metrics build failed"; exit 1; }4
echo "✅ Metrics build completed"

- name: Cleanup artifacts
run: docker system prune -f

4 changes: 2 additions & 2 deletions Examples/run-with-docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
# - cortexflow

otel-collector:
image: otel/opentelemetry-collector-contrib:0.95.0
image: otel/opentelemetry-collector-contrib:0.162.0
container_name: otel-collector
command:
- "--config=/conf/otel-collector-config.yaml"
Expand All @@ -69,7 +69,7 @@ services:
- cortexflow-metrics

prometheus:
image: prom/prometheus:v2.51.2
image: prom/prometheus:v3.13.3
container_name: prometheus
user: "65534:65534"
command:
Expand Down
8 changes: 4 additions & 4 deletions Examples/run-with-docker/otel-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ processors:
where attributes["container.name"] == nil and attributes["k8s.pod.name"] != nil

exporters:
logging: {}
debug: {}
prometheus:
endpoint: 0.0.0.0:8889
namespace: cortexbrain
Expand All @@ -30,12 +30,12 @@ service:
traces:
receivers: [otlp]
processors: [memory_limiter]
exporters: [logging]
exporters: [debug]
logs:
receivers: [otlp]
processors: [memory_limiter]
exporters: [logging]
exporters: [debug]
metrics:
receivers: [otlp]
processors: [memory_limiter, transform/identity]
exporters: [logging, prometheus]
exporters: [debug,prometheus]
Loading
Loading