Skip to content

Releases: crate/cratedb-prometheus-adapter

0.5.2

11 Nov 15:27
Compare
Choose a tag to compare

What's Changed

Details

  • Chore(deps): Update pytest requirement from <8 to <9 by @dependabot in #127
  • Chore(deps): Bump pueblo[proc] from 0.0.6 to 0.0.7 by @dependabot in #129
  • Chore(deps): Bump actions/cache from 3 to 4 by @dependabot in #128
  • Chore(deps): Bump github.com/prometheus/prometheus from 0.48.1 to 0.49.1 by @dependabot in #126
  • Chore(deps): Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.3 by @dependabot in #130
  • Chore(deps): Bump cratedb-toolkit from 0.0.3 to 0.0.5 by @dependabot in #131
  • Chore(deps): Bump github.com/jackc/pgtype from 1.14.1 to 1.14.2 by @dependabot in #133
  • Chore(deps): Bump github.com/prometheus/common from 0.46.0 to 0.48.0 by @dependabot in #136
  • Chore(deps): Bump github.com/prometheus/prometheus from 0.49.1 to 0.50.1 by @dependabot in #137
  • Chore(deps): Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 by @dependabot in #139
  • Chore(deps): Bump github.com/jackc/pgx/v5 from 5.5.3 to 5.5.5 by @dependabot in #140
  • Chore(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #138
  • Chore(deps): Bump cratedb-toolkit from 0.0.5 to 0.0.8 by @dependabot in #141
  • Chore(deps): Bump pueblo[proc] from 0.0.7 to 0.0.9 by @dependabot in #142
  • Chore(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in #143
  • Chore(deps): Bump github.com/jackc/pgproto3/v2 from 2.3.2 to 2.3.3 by @dependabot in #144
  • Chore(deps): Bump github.com/jackc/pgtype from 1.14.2 to 1.14.3 by @dependabot in #145
  • Chore(deps): Bump cratedb-toolkit from 0.0.8 to 0.0.10 by @dependabot in #146
  • Chore(deps): Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by @dependabot in #147
  • Chore(deps): Bump cratedb-toolkit from 0.0.10 to 0.0.12 by @dependabot in #155
  • Chore(deps): Bump github.com/jackc/pgx/v5 from 5.5.5 to 5.6.0 by @dependabot in #152
  • Chore(deps): Bump github.com/prometheus/common from 0.52.3 to 0.54.0 by @dependabot in #153
  • Chore(deps): Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 by @dependabot in #150
  • Chore(deps): Bump github.com/prometheus/common from 0.54.0 to 0.55.0 by @dependabot in #159
  • Chore(deps): Bump docker/build-push-action from 5 to 6 by @dependabot in #160
  • Chore(deps): Bump cratedb-toolkit from 0.0.12 to 0.0.15 by @dependabot in #161
  • Chore(deps): Bump cratedb-toolkit from 0.0.15 to 0.0.27 by @dependabot in #180
  • Chore(deps): Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.4 by @dependabot in #177
  • Chore(deps): Bump github.com/jackc/pgtype from 1.14.3 to 1.14.4 by @dependabot in #184
  • Chore(deps): Bump cratedb-toolkit from 0.0.27 to 0.0.29 by @dependabot in #186
  • Chore(deps): Bump github.com/prometheus/common from 0.60.0 to 0.60.1 by @dependabot in #188
  • Chore(deps): Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 by @dependabot in #185
  • Chore(deps): Bump pueblo[proc] from 0.0.9 to 0.0.10 by @dependabot in #190

New Contributors

Full Changelog: 0.5.1...0.5.2

0.5.1

23 Jan 22:53
Compare
Choose a tag to compare

What's Changed

  • Packaging: Re-add compatibility with glibc 2.31,
    by building on golang:1.20-bullseye.
  • Fixed use of schema configuration setting, it was not honored.

Details

  • CI: Start providing OCI images for the ARM architecture by @amotl in #114
  • Tests: Integration tests to verify query expressions end-to-end by @amotl in #115
  • Packaging: Re-add compatibility with glibc 2.31 by @amotl in #122
  • Fix use of schema configuration setting, it was not honored by @amotl in #117
  • Chore(deps): Bump github.com/jackc/pgx/v5 from 5.5.1 to 5.5.2 by @dependabot in #118
  • Chore(deps): Bump github.com/jackc/pgtype from 1.14.0 to 1.14.1 by @dependabot in #119
  • Chore(deps): Bump github.com/prometheus/common from 0.45.0 to 0.46.0 by @dependabot in #120
  • Chore: Development sandbox Docker Compose configuration; Tests: Fix PROMETHEUS_URL; deactivate failing test; Misc. by @amotl in #116

Full Changelog: 0.5.0...0.5.1

0.5.0

12 Jan 21:43
Compare
Choose a tag to compare

What's Changed

CHANGES

  • Accept invoking the program without default configuration file config.yml
    In this case, the program will fall back to the builtin defaults, essentially
    connecting to localhost:5432 with username crate.
  • Add query timeouts using context cancellation. The corresponding
    configuration settings are read_timeout and write_timeout.
  • Use a different connection pool for read vs. write operations.
    The corresponding settings to configure the maximum pool sizes
    are read_pool_size_max and write_pool_size_max.
  • Accept invocation without default configuration file config.yml.
  • Add command line option -config.make to print a blueprint configuration
    file to stdout.
  • Use a DSN-style connection string for talking to pgx5.
  • Add program version to startup log message.

DEPENDENCIES

  • Add support for Go 1.20 and 1.21, drop support for previous releases
  • Update dependency packages across the board to their latest or minor patch releases
  • Update Prometheus libraries (client: 1.18, server: 2.48)
  • Update Protocol Buffers libraries (google.golang.org/protobuf 1.31)
  • Update to pgx5 library

BREAKING CHANGES

  • This release removes the default value for the -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: 0.4.0...0.5.0

0.4.0

06 May 11:45
Compare
Choose a tag to compare

BREAKING CHANGES

  • This release changes the toplevel configuration section name to cratedb_endpoints.
    It is an aftermath of the "naming things" refactorings happening in 0.3.0.

CHANGES

  • 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:

    • KeepAlive: 30 seconds
    • ConnectTimeout: 10 seconds

    The TCP connect timeout can be adjusted by using the -tcp.connect.timeout
    option.

0.3.0

30 Apr 15:03
Compare
Choose a tag to compare

BREAKING CHANGES

  • This release changes the program name to 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.

CHANGES

  • 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_.

0.2.1

06 Mar 15:32
Compare
Choose a tag to compare
  • 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.

Download binaries

crate_adapter-0.2.0 / 2018-07-10

11 Jul 21:07
Compare
Choose a tag to compare

CHANGES

  • Use Postgres wire protocol (pgx client library) to connect to CrateDB:
    • This change requires CrateDB 3.1.0 or newer!
    • Connections can be configured via crate.yml configuration file using the -config.file flag.
    • Added support for multiple endpoints.

Download binaries