Commit Graph
100 Commits
Author SHA1 Message Date
moebiusband a85f72fccd Change log level to debug for nodestate API endpoint 2026-02-06 14:30:04 +01:00
moebiusband db8772dc0b Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-02-06 14:06:59 +01:00
moebiusband fa7727c6ca Print job db id instead of its address 2026-02-06 14:06:56 +01:00
moebiusband f671d8df90 Add counts in healthcheck for logging output 2026-02-06 09:25:09 +01:00
moebiusband 265da42385 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-02-06 09:08:50 +01:00
moebiusband b160284a1b Update vasp example tagger rule 2026-02-06 09:08:46 +01:00
moebiusband 0984c1d431 Add debug log with degrade and missing metrics for healthcheck 2026-02-06 07:21:04 +01:00
moebiusband 5d7dd62b72 Update unit test for new HealthCheck update 2026-02-04 12:53:24 +01:00
moebiusband 46fb52d67e Adopt documentation 2026-02-04 12:30:33 +01:00
moebiusband 42ce598865 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-02-03 18:35:35 +01:00
moebiusband 0d62a300e7 Intermediate state of node Healthcheck
TODOS:
* Remove error handling from routine and simplify API call
* Use map for hardware level metrics
2026-02-03 18:35:17 +01:00
moebiusband 75a74c162d Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-02-03 14:55:47 +01:00
moebiusband 248f11f4f8 Change API of Node HealthState 2026-02-03 14:55:12 +01:00
moebiusband 00a41373e8 Add monitoring healthstate support in nodestate API. 2026-02-03 12:23:24 +01:00
moebiusband 5e58c9f376 Adapt unit test to changed implementation 2026-01-30 16:49:55 +01:00
moebiusband b600eeca5e Change web ui defaults and fix ui config json schema 2026-01-30 16:31:09 +01:00
moebiusband 0d857b49a2 Disable explicit GC calls 2026-01-28 11:21:27 +01:00
moebiusband eb5aa9ad02 Disable explicit GC calls 2026-01-28 11:21:02 +01:00
moebiusband 98661aad15 Increase default GC frequency 2026-01-28 10:41:44 +01:00
moebiusband 69739ffdfd Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-28 07:05:32 +01:00
moebiusband 95689e3c99 Add API endpoint for getUsedNodes
Needed by dynamic memory management for external ccms
2026-01-28 07:05:29 +01:00
moebiusband 9d15a87c88 Take into account the real allocated heap memory in MemoryUsageTracker 2026-01-27 18:23:09 +01:00
moebiusband bbde91a1f9 Move wg increment inside goroutines. Make GC calls less aggressive 2026-01-27 17:25:29 +01:00
moebiusband 55cb2cb6d6 Prevent file not closed on error in avro checkpoint 2026-01-27 17:10:26 +01:00
moebiusband 752e19c276 Pull out metric List build from metricstore Init 2026-01-27 17:06:52 +01:00
moebiusband 28a3ff8d67 Upgrade cc-lib. Change nodestate log levels 2026-01-27 14:26:41 +01:00
moebiusband 2859f12dc1 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-27 10:02:39 +01:00
moebiusband b307e885ce feat: Add support for multiple external metric stores 2026-01-27 10:02:07 +01:00
moebiusband 4853814228 Review and refactor metric-store client. Add documentation 2026-01-27 07:17:17 +01:00
moebiusband ca08717b9d Reintroduce external metric-store client 2026-01-27 07:00:13 +01:00
moebiusband b5182c4c13 Prepare release 1.5.0 2026-01-26 15:29:28 +01:00
moebiusband b9e65b50db Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-26 13:17:38 +01:00
moebiusband 0ea836c69c Revert metricstore api paths 2026-01-26 13:17:36 +01:00
moebiusband 7ecfc8468e Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-26 08:38:56 +01:00
moebiusband c782043c64 Upgrade cclib and remove usage of obsolete util.Float 2026-01-26 08:38:53 +01:00
moebiusband 525d99140f Fix missing comma in metristore schema 2026-01-23 10:15:29 +01:00
moebiusband 499b4287f9 Switch to cclib nats client 2026-01-23 10:04:41 +01:00
moebiusband f41301036b Move metricstore from internal to pkg 2026-01-23 07:49:47 +01:00
moebiusband 30516776e5 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-22 20:31:18 +01:00
moebiusband 07afcc4cd4 Adopt naming of descriptions 2026-01-22 20:31:15 +01:00
moebiusband 1d4c79c821 Unify JSON attribute naming ot use kebab style case. Cleanup configuration. 2026-01-20 09:47:13 +01:00
moebiusband d4edbd7d1a Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-19 16:43:04 +01:00
moebiusband 5281f3bb60 Remove obsolete config option disable-archive 2026-01-19 16:42:30 +01:00
moebiusband 9a97d0e8eb Add documentation 2026-01-16 08:27:46 +01:00
moebiusband 93dcfee8c5 Document and refactor 2026-01-16 08:27:15 +01:00
moebiusband 76139ef53c Remove now optional apiAllowedIPs option 2026-01-16 08:23:31 +01:00
moebiusband 7db2bbe6b0 Add job tagger option to example config 2026-01-15 15:53:54 +01:00
moebiusband b6f0faa97f Make polarplot default in Jobview 2026-01-15 15:47:40 +01:00
moebiusband a3fffa8e8b Update example and demo config 2026-01-15 13:57:15 +01:00
moebiusband 72248defbf Cleanup print statements. Always enable Compression 2026-01-15 13:39:22 +01:00
moebiusband 155e05495e Fix shutdown timout bug 2026-01-15 13:29:19 +01:00
moebiusband 9c92a7796b Introduce nodeprovider interface to break import cycle 2026-01-15 12:20:11 +01:00
moebiusband 7c78407c49 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-15 11:34:09 +01:00
moebiusband cb219b3c74 Fix configuration issues. Fix shutdown hangs
Always turn on compression
2026-01-15 11:34:06 +01:00
moebiusband d59aa2e855 Restructure configuration with sensible defaults. Fix shutdown hangs 2026-01-15 11:33:01 +01:00
moebiusband e1efc68476 Update dependencies. Rebuild graphql and swagger 2026-01-15 08:32:06 +01:00
moebiusband 8f0bb907ff Improve documentation and add more tests 2026-01-15 06:41:23 +01:00
moebiusband 9c3beddf54 Improve documentation 2026-01-14 15:39:38 +01:00
moebiusband c6465ad9e5 Add s3 configuration options 2026-01-14 15:28:34 +01:00
moebiusband d415381d4a Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-14 15:10:25 +01:00
moebiusband 211d4fae54 Refactor s3 backend and suppress checksum warning 2026-01-14 15:10:20 +01:00
moebiusband c8627a13f4 Remove obsolete slusters config section 2026-01-14 11:17:49 +01:00
moebiusband 0ea0270fe1 Reintroduce Clusters as string list of cluster names 2026-01-14 10:37:07 +01:00
moebiusband 19402d30af Review and improve error messages and doc comments 2026-01-14 10:09:19 +01:00
moebiusband b2f870e3c0 Convert nodestate nats API to influx line protocol payload. Review and add doc comments.
Improve and extend tests
2026-01-14 10:08:06 +01:00
moebiusband 9e542dc200 Review and improve, add documentation 2026-01-14 09:26:03 +01:00
moebiusband 6cf59043a3 Review and improve, add documentation 2026-01-14 08:59:27 +01:00
moebiusband 71b75eea0e Improve GetUsedNodes function 2026-01-14 08:49:55 +01:00
moebiusband e900a686db Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-14 07:38:04 +01:00
moebiusband fb8db3c3ae Add query which node metric data needs to be retained 2026-01-14 07:37:31 +01:00
moebiusband 25c8fca561 Revert retention config in metricstore 2026-01-13 14:42:24 +01:00
moebiusband 754f7e16f6 Reformat with gofumpt 2026-01-13 09:52:31 +01:00
moebiusband 04a2e460ae Refactor metricstore. Initial stub for cluster/ subcluster specific retention times 2026-01-13 09:52:00 +01:00
moebiusband 2ebab1e2e2 Reformat with gofumpt 2026-01-13 09:50:57 +01:00
moebiusband a9366d14c6 Add README for tagging. Enable tagging by flag without configuration option 2026-01-13 08:32:32 +01:00
moebiusband 42809e3f75 Remove embedded tagger rules 2026-01-13 07:20:26 +01:00
moebiusband 4cec933349 Remove obsolete cluster config section 2026-01-13 06:28:33 +01:00
moebiusband d3f3c532b1 Merge branch 'master' into dev 2026-01-12 11:18:56 +01:00
moebiusband ad1e87d0b8 Disable dependabot alerts 2026-01-12 11:17:44 +01:00
moebiusband f1367f84f8 Merge branch 'master' into dev 2026-01-12 09:14:45 +01:00
moebiusband 56399523d7 Update module deps 2026-01-12 09:00:06 +01:00
moebiusband 4d6326b8be Remove metricsync 2026-01-12 08:55:31 +01:00
moebiusband ecb5aef735 Fix build error in unit test 2025-12-25 08:48:03 +01:00
moebiusband 11ec2267da Major refactor of metric data handling
- make the  internal memory store required and default
- Rename memorystore to metricstore
- Rename metricDataDispatcher to metricdispatch
- Remove metricdata package
- Introduce metricsync package for upstream metric data pull
2025-12-25 08:42:54 +01:00
moebiusband 8576ae458d Switch to cc-lib v2 2025-12-24 09:24:18 +01:00
moebiusband 9bf5c5dc1a Update README and config schema 2025-12-23 09:34:09 +01:00
moebiusband 64fef9774c Add unit test for NATS API 2025-12-23 09:22:57 +01:00
moebiusband 999667ec0c Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-23 07:56:16 +01:00
moebiusband c1135531ba Port NATS api to ccMessages 2025-12-23 07:56:13 +01:00
moebiusband 287256e5f1 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-23 05:56:49 +01:00
moebiusband 0bc26aa194 Add error check 2025-12-23 05:56:46 +01:00
moebiusband 1cd4a57bd3 Remove support for mysql/mariadb 2025-12-20 11:13:41 +01:00
moebiusband b35172e2f7 Add context information for CLAUDE coding agent 2025-12-20 11:13:02 +01:00
moebiusbandandClaude Sonnet 4.5 3cfcd30128 Add CLAUDE.md documentation for Claude Code
Provides architecture overview, build commands, and development workflows
to help future Claude Code instances work productively in this codebase.
Includes guidance on GraphQL/REST API patterns, database migrations, and
the repository/metric data architecture.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-20 10:17:54 +01:00
moebiusband e56532e5c8 Add example json API payloads 2025-12-20 09:35:54 +01:00
moebiusband fdee4f8938 Integrate NATS API.
Only start either REST start/stop API or NATS start/stop API
2025-12-20 09:21:58 +01:00
moebiusband 06ed056d43 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-18 15:47:53 +01:00
moebiusband d446c13546 Restore startDemo script 2025-12-18 15:47:51 +01:00
moebiusband 6e74fa294a Add role-based visibility for metrics
Fixes #387
2025-12-18 15:47:30 +01:00
moebiusband e707fd0893 Provide fallback in archive manager in case fd is not available 2025-12-18 11:26:05 +01:00