Skip to content

Prom/newlib#1900

Merged
kzangeli merged 13 commits intodevelopfrom
prom/newlib
Feb 15, 2026
Merged

Prom/newlib#1900
kzangeli merged 13 commits intodevelopfrom
prom/newlib

Conversation

@kzangeli
Copy link
Collaborator

  • Replaced prometheus-client-c with new prometheus library
  • Updates to doc/manuals-ld/troe.md
  • Doc on TRoE database schema and advanced optimization

kzangeli and others added 8 commits January 29, 2026 10:31
- Add counters: ngsildRequests, ngsildRequestsFailed, notifications,
  notificationsFailed, distOps, distOpsFailed
- Add gauges: connectionsActive, subscriptionsCached
- Add histogram: requestDurationSeconds with latency buckets
- Add dedicated metrics server on configurable port (-promPort)
- Add /metrics endpoint on main port (remaps to /ngsi-ld/ex/v1/metrics)
- Track request duration, connection lifecycle, and operation outcomes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Integrate new lightweight kprom library (lock-free, allocation-free)
- Add kprom version to /version endpoint
- Add finer histogram buckets (0.002, 0.003, 0.004ms)
- Output gauges as integers instead of floats
- Fix duplicate -ki flag in functest harness
- Update functest expected outputs for new metrics format
- Document TRoE database schema and indexing recommendations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add database schema documentation to troe.md
- Document recommended indexes for common query patterns
- Add Citus + partitioning guide for large-scale deployments (100M+ records)
- Add example SQL script for Citus setup
- Add futureIdeas/ to .gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ll warnings

  - Rename variable 'concept' to 'conceptName' in ddsPrePopulateDb.cpp to
    avoid -Werror=c++20-compat error with GCC 13
  - Move trace levels below 3200 (ktTraceLevels[100] limit) so KtPrometheus
    and other misc/ftClient levels are actually reachable
  - Filter MongoDB 5.0 shell deprecation warnings in mongoCmd2() to prevent
    functest diff failures
@github-actions
Copy link

github-actions bot commented Feb 10, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️

kzangeli and others added 5 commits February 10, 2026 01:49
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@kzangeli kzangeli merged commit bf2495c into develop Feb 15, 2026
12 of 13 checks passed
@kzangeli kzangeli deleted the prom/newlib branch February 15, 2026 21:18
@github-actions github-actions bot locked and limited conversation to collaborators Feb 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments