CrateDB Prometheus Adapter.
golang:1.20-bullseye
.schema
configuration setting, it was not honored.schema
configuration setting, it was not honored by @amotl in https://github.com/crate/cratedb-prometheus-adapter/pull/117
PROMETHEUS_URL
; deactivate failing test; Misc. by @amotl in https://github.com/crate/cratedb-prometheus-adapter/pull/116
Full Changelog: https://github.com/crate/cratedb-prometheus-adapter/compare/0.5.0...0.5.1
config.yml
In this case, the program will fall back to the builtin defaults, essentially
connecting to localhost:5432
with username crate
.read_timeout
and write_timeout
.read_pool_size_max
and write_pool_size_max
.config.yml
.-config.make
to print a blueprint configuration
file to stdout.-config.file
command line
option, which was config.yml
. When the option is omitted, the service
will use the built-in settings, connecting to CrateDB on localhost:5432
.Full Changelog: https://github.com/crate/cratedb-prometheus-adapter/compare/0.4.0...0.5.0
cratedb_endpoints
.
It is an aftermath of the "naming things" refactorings happening in 0.3.0.Improve network behaviour: Adjust TCP timeout and keepalive settings to mitigate problems that can occur when the adapter in connecting to CrateDB via a load balancer that may drop idle connections in-transparently, such as in AKS. The default values are:
The TCP connect timeout can be adjusted by using the -tcp.connect.timeout
option.
cratedb-prometheus-adapter
and the default prefix for exported metrics to cratedb_prometheus_adapter_
.
The latter can be reconfigured using the new -metrics.export.prefix
option.Provide a default config.yml
in the Docker image, which can be replaced
by mounting a file on /etc/cratedb-prometheus-adapter/config.yml
.
Made Go 1.16 a minimum requirement.
Updated project to make use of Go modules <https://golang.org/ref/mod>
_
instead of Govendor.
Renamed the program to cratedb-prometheus-adapter
.
Renamed the exported metric prefix to cratedb_prometheus_adapter_
. It is
now, for example, cratedb_prometheus_adapter_write_latency_seconds
.
Attention: This is a breaking change with respect to your exported metric
names. In order to keep the former name, use
./cratedb-prometheus-adapter -metrics.export.prefix=crate_adapter_
.
Fixed the translation of prometheus queries using regular expressions
(metric_name{job=~"something"}
) , so that the generated SQL queries match
the proper records in CrateDB.
Fixed an issue that caused reads to increment the write metrics instead of the read metrics.
CHANGES
crate.yml
configuration file using the -config.file
flag.