Skip to content

Added mcp tests to github CI, added alpine image for metrics service. Minor updates - #237

Merged
LorenzoTettamanti merged 15 commits into
CortexFlow:0.1.5from
LorenzoTettamanti:0.1.5
Oct 14, 2026
Merged

LorenzoTettamanti merged 15 commits into
CortexFlow:0.1.5from
LorenzoTettamanti:0.1.5

Conversation

@LorenzoTettamanti

@LorenzoTettamanti LorenzoTettamanti commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Changes

  1. Added Test MCP CI pipeline (tests introduced in Labels on Metadata are able to identify the workload a series belongs to #231)
  2. Added alpine image for metrics service, see Docker.alpine and metrics-build-alpine.sh
  3. Updated testing/prometheus-yaml and Examples/run-with-docker/docker-compose.yaml file
  4. Minor bug fix in cli/src/errors.rs

Tests

Input: cfcli monitoring otel-live

Output(Trimmed):

`=====> Connecting to OpenTelemetry collector

HELP cortexbrain_bytes_alloc_events_total Total bytes_alloc events occurring in the CPU

TYPE cortexbrain_bytes_alloc_events_total counter

cortexbrain_bytes_alloc_events_total{command="cilium-cni",job="cortexflow/cortexflow-metrics",tgid="66058"} 1
cortexbrain_bytes_alloc_events_total{command="code",job="cortexflow/cortexflow-metrics",tgid="5706"} 2
cortexbrain_bytes_alloc_events_total{command="code",job="cortexflow/cortexflow-metrics",tgid="66068"} 2
cortexbrain_bytes_alloc_events_total{command="code",job="cortexflow/cortexflow-metrics",tgid="66180"} 1
cortexbrain_bytes_alloc_events_total{command="cri-dockerd",job="cortexflow/cortexflow-metrics",tgid="66058"} 2
cortexbrain_bytes_alloc_events_total{command="docker",job="cortexflow/cortexflow-metrics",tgid="66068"} 1
cortexbrain_bytes_alloc_events_total{command="dockerd",job="cortexflow/cortexflow-metrics",tgid="41691"} 2
cortexbrain_bytes_alloc_events_total{command="kubectl",job="cortexflow/cortexflow-metrics",tgid="66015"} 2
cortexbrain_bytes_alloc_events_total{command="kubectl",job="cortexflow/cortexflow-metrics",tgid="66080"} 3
cortexbrain_bytes_alloc_events_total{command="sh",job="cortexflow/cortexflow-metrics",tgid="66080"} 2
cortexbrain_bytes_alloc_events_total{command="sh",job="cortexflow/cortexflow-metrics",tgid="66138"} 1
cortexbrain_bytes_alloc_events_total{command="snap",job="cortexflow/cortexflow-metrics",tgid="66015"} 3
cortexbrain_bytes_alloc_events_total{command="snap",job="cortexflow/cortexflow-metrics",tgid="66033"} 2
cortexbrain_bytes_alloc_events_total{command="snap",job="cortexflow/cortexflow-metrics",tgid="66039"} 2
cortexbrain_bytes_alloc_events_total{command="snap",job="cortexflow/cortexflow-metrics",tgid="66040"} 2
cortexbrain_bytes_alloc_events_total{command="snap",job="cortexflow/cortexflow-metrics",tgid="66041"} 2
cortexbrain_bytes_alloc_events_total{command="snap",job="cortexflow/cortexflow-metrics",tgid="66080"} 2
cortexbrain_bytes_alloc_events_total{command="snap",job="cortexflow/cortexflow-metrics",tgid="66138"} 1
cortexbrain_bytes_alloc_events_total{command="snap",job="cortexflow/cortexflow-metrics",tgid="66164"} 2
cortexbrain_bytes_alloc_events_total{command="snap-confine",job="cortexflow/cortexflow-metrics",tgid="66080"} 2
cortexbrain_bytes_alloc_events_total{command="snap-exec",job="cortexflow/cortexflow-metrics",tgid="66080"} 3
cortexbrain_bytes_alloc_events_total{command="snap-seccomp",job="cortexflow/cortexflow-metrics",tgid="66033"} 1
cortexbrain_bytes_alloc_events_total{command="systemd",job="cortexflow/cortexflow-metrics",tgid="1436"} 6
cortexbrain_bytes_alloc_events_total{command="watch",job="cortexflow/cortexflow-metrics",tgid="66079"} 2

LorenzoTettamanti and others added 5 commits September 28, 2026 22:47
…identity/main.rs to the current read_perf_buffer definition in cortebrain-common@0.1.4
(chores): Aligned the definition of the read_perf_buffer function in identity/main.rs to the current read_perf_buffer definition in cortebrain-common@0.1.4
@LorenzoTettamanti LorenzoTettamanti added enhancement New feature or request rust Pull requests that update Rust code CI/CD ci/cd workflows labels Oct 5, 2026
@LorenzoTettamanti
LorenzoTettamanti marked this pull request as ready for review October 10, 2026 13:04
@LorenzoTettamanti LorenzoTettamanti changed the title Added mcp tests to github CI Added mcp tests to github CI, added alpine image for metrics service. Minor updates Oct 10, 2026
@siddh34

siddh34 commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator

@LorenzoTettamanti I am reviewing it by tomorrow morning IST I will be done!

Comment thread Examples/run-with-docker/docker-compose.yaml Outdated
Comment thread Examples/run-with-docker/docker-compose.yaml Outdated
@LorenzoTettamanti

Copy link
Copy Markdown
Member Author

@siddh34 fixed! Sorry for the delay

@siddh34

siddh34 commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

@siddh34 fixed! Sorry for the delay

No worries mate!
I still want to test otel out if something fails we will change the otel in a later PR

I will be done testing by 11 pm IST

Let me know if you had tested the compose out incase ready to approve PR looks good to me

…or-contrib; changed parameter "logging" in favour of "debug"
@LorenzoTettamanti

Copy link
Copy Markdown
Member Author

@siddh34 I found and fixed an issue with otel-collector-contrib:0.162.0. Now everything is working fine
Screenshot from 2026-10-14 17-22-11

@LorenzoTettamanti LorenzoTettamanti self-assigned this Oct 14, 2026

@siddh34 siddh34 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM mate!

@LorenzoTettamanti
LorenzoTettamanti merged commit cca9267 into CortexFlow:0.1.5 Oct 14, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD ci/cd workflows enhancement New feature or request rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants