Commit Graph

1618 Commits

Author SHA1 Message Date
Göran Sander
b84d99cd4a refactor: Better support for InfluxDB v2 databases 2025-12-16 11:25:21 +01:00
Göran Sander
d05c0bb653 refactor(influxdb): Modernized shared InfluxDB code, better sharing of code across InfluxDB versions 2025-12-16 07:28:31 +01:00
Göran Sander
87b98d5e3c refactor(influxdb): Modernized InfluxDB v1 code. Easier to understand, esier to maintain 2025-12-16 07:27:21 +01:00
Göran Sander
f3ca7e7f0b Revmove old InfluxDB v3 code and tests 2025-12-15 10:09:54 +01:00
Göran Sander
a2e7b31510 Add test cases for InfuxDB v3 2025-12-15 09:56:54 +01:00
Göran Sander
2328eca1e5 test: Add test cases for InfuxDB v3 2025-12-15 09:56:35 +01:00
Göran Sander
6e62c8388a Fix incorrect release-please config 2025-12-15 09:26:11 +01:00
Göran Sander
a9ffecf3f9 Add changelog section for tests 2025-12-15 09:16:51 +01:00
Göran Sander
fdff29f5d2 feat!: Add support for InfluxDB v3 2025-12-15 08:40:58 +01:00
Göran Sander
963bac6787 fix: Add error tracking for app name extraction from QRS API 2025-12-15 07:54:09 +01:00
Göran Sander
8713b84e41 Fix broken tests 2025-12-15 07:38:10 +01:00
Göran Sander
5ff9e7c566 fix: Add missing log event counters in InfluxDB v3 2025-12-15 07:38:05 +01:00
Göran Sander
1b468b87a3 feat: Add retries when writing UDP queue metrics to InfluxDB v3 2025-12-15 04:47:46 +01:00
Göran Sander
2c4ad6ec46 feat: Track and log how many time errors occur when accessing Sense APIs 2025-12-14 20:06:31 +01:00
Göran Sander
b2fec2fcef Make logging more consistent 2025-12-14 11:11:45 +01:00
Göran Sander
735e3941ac feat: Better and more consistent logging across the entire codebase 2025-12-14 09:43:35 +01:00
Göran Sander
1e08ec1bf8 feat(InfluxDB): Configurable timeouts when writing to and querying InfluxDB v3 2025-12-13 15:27:36 +01:00
Göran Sander
21f6dba2dd feat(InfluxDB): Add retries with configurable backoff when writing to InfluxDB v3 2025-12-13 15:26:50 +01:00
Göran Sander
0b82072a4c Fix InfluxDB v3 handling wrt identical tag and field names (not allowed!) 2025-12-13 08:43:23 +01:00
Göran Sander
b4f8baeb26 refactor: Split InfluxDB v1/v2/v3 code into smaller, more manageable pieces 2025-12-12 23:01:52 +01:00
Göran Sander
791be201a4 Fix v3 log event handling to match v1/v2 data models
- Rewrite postLogEventToInfluxdb v3 to handle each message type distinctly
- Engine: stores session_id, windows_user, engine_exe_version
- Proxy: no session_id (key difference from engine)
- Scheduler: stores execution_id instead of command/result_code/origin/context
- Repository: similar to proxy, no session_id
- QIX-perf: stores performance metrics with float/integer fields
- All Point3 field types now correct (setStringField, setFloatField, setIntegerField)
- Conditional tags match v1/v2 behavior for each source type
- All 349 tests passing
2025-12-12 19:05:28 +01:00
Göran Sander
ff2f275ad3 Fix InfluxDB v3 terminology: change 'bucket' to 'database'
- Updated config schema to use 'database' instead of 'bucket' in v3Config
- Fixed all YAML config files (production.yaml, production_template.yaml, docker-compose configs)
- Updated globals.js to read v3Config.database and fixed undefined variable bug
- Updated all documentation files to use correct terminology
- All tests passing (300 tests, 32 test suites)
2025-12-12 17:24:16 +01:00
Göran Sander
bedfeca420 work in progress 2025-12-12 17:24:12 +01:00
copilot-swe-agent[bot]
956d69b3fa Update package.json description to mention InfluxDB v2 support
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-12 17:21:30 +01:00
copilot-swe-agent[bot]
a22e699870 Add InfluxDB v3 unit tests and fix missing user events handling
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-12 17:21:03 +01:00
copilot-swe-agent[bot]
cedb89a1fd Add Docker Compose files for InfluxDB v1, v2, and v3
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-12 17:21:03 +01:00
copilot-swe-agent[bot]
897f8c6490 Complete InfluxDB v3 support for all posting functions
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-12 17:21:03 +01:00
copilot-swe-agent[bot]
3a0592967c Add initial InfluxDB v3 support - schema and first function
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-12 17:21:03 +01:00
copilot-swe-agent[bot]
c156c746a9 Initial plan 2025-12-12 17:21:03 +01:00
Göran Sander
b810815016 Merge pull request #1127 from ptarmiganlabs/release-please--branches--master--components--butler-sos
chore(master): release butler-sos 14.0.0
butler-sos-v14.0.0
2025-12-11 13:42:29 +01:00
Göran Sander
c590529bc3 chore(master): release butler-sos 14.0.0 2025-12-09 15:46:39 +01:00
Göran Sander
edd7561fba Merge pull request #1148 from ptarmiganlabs/better-udp-queue
better udp queue
2025-12-09 15:46:01 +01:00
Göran Sander
02858c2ed3 feat: Enhance logging for incoming UDP log events 2025-12-09 15:43:41 +01:00
Göran Sander
2198485571 Merge branch 'master' into better-udp-queue 2025-12-07 21:52:55 +01:00
Göran Sander
81978f634b Merge pull request #1151 from ptarmiganlabs/copilot/remove-macos-x64-support
Remove macOS x64 build support
2025-12-07 21:50:37 +01:00
Göran Sander
4a4365869a Merge pull request #1154 from ptarmiganlabs/copilot/sub-pr-1148-another-one
Store interval IDs to enable future cleanup
2025-12-07 21:47:17 +01:00
Göran Sander
4b5a513871 Refactor docker-compose configuration and improve UdpEvents documentation 2025-12-07 21:47:00 +01:00
Göran Sander
293a99042f Merge pull request #1153 from ptarmiganlabs/copilot/sub-pr-1148-again
Fix race condition in UDP queue backpressure detection
2025-12-07 20:29:34 +01:00
Göran Sander
57940bcfdd Merge pull request #1152 from ptarmiganlabs/copilot/sub-pr-1148
Add error handling to user events interval callback
2025-12-07 20:28:11 +01:00
Göran Sander
26ccb629b8 chore(deps): update dependencies in package.json 2025-12-07 20:26:36 +01:00
Göran Sander
ad4f3e8b1c chore(workflows): update action versions in CI configuration files 2025-12-07 20:25:53 +01:00
copilot-swe-agent[bot]
908edb5332 Move udpEventsStorageIntervalId declaration inside conditional block
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-07 19:20:33 +00:00
copilot-swe-agent[bot]
95644fdef4 Store interval IDs from setupUdpQueueMetricsStorage for potential cleanup
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-07 19:19:04 +00:00
copilot-swe-agent[bot]
4beb97e36e Fix race condition in checkBackpressure by capturing queue size under mutex
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-07 19:17:37 +00:00
copilot-swe-agent[bot]
49aeee5011 Add error handling to user events interval callback
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-07 19:15:56 +00:00
copilot-swe-agent[bot]
c98ba4aa99 Initial plan 2025-12-07 19:14:36 +00:00
copilot-swe-agent[bot]
f1df99002a Initial plan 2025-12-07 19:12:56 +00:00
copilot-swe-agent[bot]
95dfb761e7 Initial plan 2025-12-07 19:12:44 +00:00
Göran Sander
d46565518c Update src/lib/post-to-influxdb.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-07 20:10:46 +01:00
copilot-swe-agent[bot]
a0dca761d7 Remove macOS x64 build support from workflows
Co-authored-by: mountaindude <1029262+mountaindude@users.noreply.github.com>
2025-12-07 18:50:16 +00:00