generated from rmcguire/go-server-with-otel
add changelog
This commit is contained in:
@@ -30,6 +30,13 @@ that's all it takes — no extra wiring.
|
|||||||
|
|
||||||
- `costPerKWH` is **US dollars per kWh** (0.18 = 18¢), feeding
|
- `costPerKWH` is **US dollars per kWh** (0.18 = 18¢), feeding
|
||||||
`econet_energy_cost_dollars`.
|
`econet_energy_cost_dollars`.
|
||||||
|
- `econetTLSInsecure` (env `ECONET_TLS_INSECURE`) skips TLS certificate
|
||||||
|
verification when connecting to the EcoNet cloud API. It exists because the
|
||||||
|
upstream host (cloudblade) serves a
|
||||||
|
DigiCert Global Root G1 chain, which is no longer trusted by default in
|
||||||
|
current root stores. **Evaluate removing this later** — prefer fixing the
|
||||||
|
trust chain (e.g. bundling the needed intermediate/root CA) over disabling
|
||||||
|
verification outright.
|
||||||
|
|
||||||
## Metrics conventions
|
## Metrics conventions
|
||||||
|
|
||||||
|
|||||||
+50
-15
@@ -1,18 +1,53 @@
|
|||||||
# v0.7.0
|
# Changelog
|
||||||
* feat: Add HTTP log exclusion regex paths to configuration schema.
|
|
||||||
* chore: Update Go version to 1.25.
|
|
||||||
* chore: Update module dependencies.
|
|
||||||
|
|
||||||
# v0.6.0
|
All notable changes to econet-exporter are documented here. The format is
|
||||||
* feat: Introduce Model Context Protocol (MCP) server with a demo random fact tool.
|
based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this
|
||||||
* feat: Add MCP server configuration file (`contrib/mcpinspector.json`).
|
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
* deps: Update Go module dependencies, including `bufbuild/protovalidate`, `go-app`, `grpc-gateway`, `googleapis/api`, `grpc`, `protobuf`, `golang.org/x/exp`, and `googleapis/rpc`.
|
|
||||||
* deps: Add new Go module dependencies: `modelcontextprotocol/go-sdk` and `k8s.io/utils`.
|
|
||||||
|
|
||||||
# v0.5.0
|
## [v0.2.0] - 2026-07-05
|
||||||
|
|
||||||
* Added OpenTelemetry tracing for application startup.
|
### Added
|
||||||
* Updated Go module dependencies, including `protovalidate`, `go-app`, `grpc`, and OpenTelemetry related packages.
|
|
||||||
* Enhanced `Makefile` `rename` target to update the application name constant in `main.go`.
|
* `econetTLSInsecure` config option (env `ECONET_TLS_INSECURE`) to skip TLS
|
||||||
* Configured `air` live-reloading to exclude the `proto` directory.
|
certificate verification when
|
||||||
* Refactored application initialization logic for improved modularity and OpenTelemetry integration.
|
connecting to the Rheem/EcoNet cloud API. The upstream host (cloudblade)
|
||||||
|
serves an old/untrusted certificate chain; this is a stopgap and should be
|
||||||
|
removed once the upstream certificate is fixed. See AGENTS.md.
|
||||||
|
* `TODO.md` tracking outstanding work (CA cert bundle, mutating proto RPCs,
|
||||||
|
additional tracing spans).
|
||||||
|
|
||||||
|
## [v0.1.2] - 2026-07-04
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* CA certificate bundle baked into the container image so the exporter can
|
||||||
|
establish TLS connections to the EcoNet API.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Bumped Helm chart versions.
|
||||||
|
|
||||||
|
## [v0.1.1] - 2026-07-04
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Corrected the Helm chart `appVersion`.
|
||||||
|
|
||||||
|
## [v0.1.0] - 2026-07-04
|
||||||
|
|
||||||
|
Initial release of the EcoNet exporter for Rheem / Rheemcloud water heaters,
|
||||||
|
built on the `go-app` framework.
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* `EconetService` owning a single shared `*rheemcloud.Client` across the gRPC,
|
||||||
|
MCP, and metrics sub-servers (fail-fast on missing credentials).
|
||||||
|
* gRPC API (`ListDevices`, `GetDevice`) with proto definitions and
|
||||||
|
grpc-gateway REST bindings.
|
||||||
|
* MCP server at `/api/mcp` exposing a `list_water_heaters` tool.
|
||||||
|
* OpenTelemetry observable gauges for device state (temperature, mode, energy
|
||||||
|
and water usage, cost) with a background usage poller, exported to
|
||||||
|
Prometheus. Units are encoded in metric names (`_fahrenheit`, `_kwh`,
|
||||||
|
`_gallons`, `_dollars`).
|
||||||
|
* `costPerKWH` config (US dollars per kWh) feeding `econet_energy_cost_dollars`.
|
||||||
|
* Helm chart for Kubernetes deployment.
|
||||||
|
|||||||
Reference in New Issue
Block a user