Skip to content

feat(schema): add ElasticSearch, Prometheus, and MySQL storage schemas#13

Merged
qiansheng91 merged 2 commits into
mainfrom
agent/umodel/6214c838
May 28, 2026
Merged

feat(schema): add ElasticSearch, Prometheus, and MySQL storage schemas#13
qiansheng91 merged 2 commits into
mainfrom
agent/umodel/6214c838

Conversation

@qiansheng91
Copy link
Copy Markdown
Collaborator

Summary

  • Add three new storage backend schemas: elasticsearch, prometheus, and mysql
  • Each schema follows the existing storage schema pattern (kind/schema/metadata/spec)
  • Updated manifest.yaml, registry test, expanded schemas, and all SDK codegen (Go, Python, Java)

New schemas

Schema Key fields
elasticsearch endpoint, index, version, properties, tags
prometheus endpoint, properties, tags
mysql endpoint, database, table, sql_filter, sql_view, properties, tags

Test plan

  • make expand — all 23 schemas expanded and validated (0 errors, 0 warnings)
  • make guard — architecture guard passed
  • go test ./internal/umodel/schemaspec/... — all 15 tests pass including TestDefaultRegistryLoadsEveryKindFromManifest with new kinds
  • git diff --check — no whitespace issues

🤖 Generated with Claude Code

qiansheng91 and others added 2 commits May 28, 2026 10:52
Add three new storage backend schemas following the existing pattern:
- elasticsearch: endpoint, index, version, properties, tags
- prometheus: endpoint, properties, tags (open-source, not Aliyun-specific)
- mysql: endpoint, database, table, sql_filter, sql_view, properties, tags

Updated manifest, registry test, expanded schemas, and all SDK codegen
(Go, Python, Java).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Simplify the MySQL storage schema by removing the separate sql_filter
and sql_view fields and replacing them with a single sql field.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@qiansheng91 qiansheng91 merged commit 458717a into main May 28, 2026
8 checks passed
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.

1 participant