Skip to content

feat(hugegraph): add native metrics exporter sidecar - #3413

Merged
weicao merged 4 commits into
dev/hugegraph-release-1.0from
feat/hugegraph-exporter-sidecar
Aug 18, 2026
Merged

feat(hugegraph): add native metrics exporter sidecar#3413
weicao merged 4 commits into
dev/hugegraph-release-1.0from
feat/hugegraph-exporter-sidecar

Conversation

@weicao

@weicao weicao commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Child PR for #3412. Adds a HugeGraph metrics sidecar and MonitorDefinition on top of the standalone development branch.

This is an observability enhancement, not an addon-api contract requirement. It matches the sidecar already attached on the Mobile Cloud / Skyworth debug instances.

What landed

  • hugegraph-exporter sidecar on :9404 with /healthz and /metrics
  • spec.exporter scrape pointer on the ComponentDefinition
  • MonitorDefinition/hugegraph for the existing collector path
  • Exporter source under addons/hugegraph/exporter for image builds
  • .helmignore excludes exporter/ so the chart tgz stays small enough for a Helm release Secret
  • Default image docker.io/apecloud/hugegraph-exporter:0.1.1 is a multi-arch index (linux/amd64 + linux/arm64), digest sha256:2b2e0f143e050f045a994b36a3c24b8a235a8547756a2a965fde9930c6412959

Pins

Item Pin
Base dev/hugegraph-release-1.0 @ f0411fc8
Child head 859cc63
Default image docker.io/apecloud/hugegraph-exporter:0.1.1
Live-validated older tag hugegraph-exporter:0.1.0-31358092 digest a95da524 (amd64 only)

Evidence

  • addons/hugegraph/tests/contract_test.sh PASS on this head
  • Helm package does not include exporter/
  • Historical live attach used the amd64-only 0.1.0-31358092 tag; this PR switches the default to the multi-arch 0.1.1 so chart CI can pass

Out of scope

  • Vendor tree in git (not added; caused the previous oversize chart)
  • Grafana dashboard / KBE catalog enablement
  • Distributed topology
  • Changing the main HugeGraph image or data path

Ava and others added 2 commits August 19, 2026 01:11
The sidecar image is built from addons/hugegraph/exporter, but packaging
that tree into the chart exceeds the Helm release Secret size. Ignore
exporter/ so the tgz stays small enough for a normal addon install.
@codecov-commenter

codecov-commenter commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (f0411fc) to head (859cc63).
⚠️ Report is 1 commits behind head on dev/hugegraph-release-1.0.

Additional details and impacted files
@@                    Coverage Diff                    @@
##           dev/hugegraph-release-1.0   #3413   +/-   ##
=========================================================
  Coverage                       0.00%   0.00%           
=========================================================
  Files                             69      69           
  Lines                           7275    7275           
=========================================================
  Misses                          7275    7275           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

CI image check requires docker.io/apecloud/hugegraph-exporter to exist.
Use the live-validated tag 0.1.0-31358092 instead of the unpublished 0.1.0
name.
@weicao weicao changed the title feat: add HugeGraph native metrics exporter sidecar feat(hugegraph): add native metrics exporter sidecar Aug 18, 2026
Addon image checks require docker.io/apecloud images to publish both
amd64 and arm64. Build the exporter with TARGETARCH and point the chart
at the published 0.1.1 index.
@weicao
weicao merged commit 3634d7b into dev/hugegraph-release-1.0 Aug 18, 2026
11 of 12 checks passed
@weicao
weicao deleted the feat/hugegraph-exporter-sidecar branch August 18, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants