Releases: scouter-project/scouter-server-go
v2.21.4-alpha1
What's Changed
Fix counter past-time queries returning no data for today's writes
(#4).
Bug Fixes
1. Reader/writer index staleness for realtime counter
CounterWR and CounterRD hold separate MemHashBlock instances on
the same .hfile. The reader loaded the index once when first opening
the day and never saw subsequent writes by the writer. Mirror the
existing daily-counter Reload() pattern for RealtimeCounterData
with a 4s reload interval (matches the writer's flush cadence).
2. Epoch-millis vs seconds-of-day mismatch in counter read handlers
The Java client and Eclipse UI use epoch milliseconds throughout for
stime / etime / time fields, while RealtimeCounterData keys
entries by seconds-since-midnight (0..86399). Handlers passed
int32(stime/1000) (epoch seconds) into ReadRealtimeRange, so keys
never matched. Even if matches existed, the returned timeSec was
emitted as-is, falling outside the chart's [stime_ms, etime_ms]
X-axis range.
Add toSecOfDayRange() helper and apply consistent epoch-millis
conversion to COUNTER_PAST_TIME, COUNTER_PAST_TIME_ALL,
COUNTER_PAST_TIME_TOT, and COUNTER_PAST_TIME_GROUP. Also switch
the first two to GetLong (GetInt truncated the upper 32 bits of
millis to garbage).
Symptom Resolved
Group → Elapse Time → Load → Time All (and other counter past-time
views) now correctly displays both past and newly generated data for
today's date.
Documentation
Two rules added to CLAUDE.md:
- Time semantics on the wire: always epoch milliseconds
- Reader/writer index staleness for today's data
Full Changelog: v2.21.4...v2.21.4-alpha1
v2.21.4
Changes since v2.21.3
- Return empty response for dead agents in active service EQ instead of skipping — accordion hidden but agent still visible
- Fix dead agents appearing in active service EQ (#3)
- Add installation guide on README.md (#1)
- Fix macOS xattr headers leaking into release tar archives
Assets
| File | Platform |
|---|---|
| scouter-server-linux-amd64.tar.gz | Linux x86_64 |
| scouter-server-linux-arm64.tar.gz | Linux ARM64 |
| scouter-server-darwin-amd64.tar.gz | macOS x86_64 |
| scouter-server-darwin-arm64.tar.gz | macOS ARM64 (Apple Silicon) |
| scouter-server-windows-amd64.zip | Windows x86_64 |
v2.21.3
Changes since v2.21.1
- fix module name
Assets
| File | Platform |
|---|---|
| scouter-server-linux-amd64.tar.gz | Linux x86_64 |
| scouter-server-linux-arm64.tar.gz | Linux ARM64 |
| scouter-server-darwin-amd64.tar.gz | macOS x86_64 |
| scouter-server-darwin-arm64.tar.gz | macOS ARM64 (Apple Silicon) |
| scouter-server-windows-amd64.zip | Windows x86_64 |