b64d91e92e
Changelog: - Add QueryRow to our connection interface - Add SQL API for managing metric compression setting - Add code documentation for query/read path of the connector - Adds support for checking pg version on startup - BUGFIX reset pendingBuffer epoch when we're done - Epoch-Based cache validation - First pass documenting the write path - Fix bug with deletion of metric name labels. - Fix erroneous PromQL query in end-to-end tests - Fix error reporting to prevent panic - Fix golden file tests - Fix logging output to match rest of the project - Fix views on Vanilla PG and add tests - Make example docker-compose clearer (#305) - Mask password while printing config - Prepare for the 0.1.1 release - Prepare for the next development cycle - REFACTOR rearrange mocks - REFACTOR switch TestPGXInserterInsertData to the new mock - REFACTOR switch TestPGXInserterInsertSeries to the new mock - Start a pgmodel Readme Source: https://github.com/timescale/promscale/releases/tag/0.1.1
31 lines
883 B
Nix
31 lines
883 B
Nix
{ stdenv
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "promscale";
|
|
version = "0.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timescale";
|
|
repo = pname;
|
|
rev = "${version}";
|
|
sha256 = "sha256:00mhkp3nf6h2zsvmmwyza1lahvmm05isfi7rqkx24c0dmkmif3x9";
|
|
};
|
|
|
|
vendorSha256 = "sha256:1ilciwf08678sciwwrjalwvcs5bp7x254nxc3nhdf88cf0bp2nxi";
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/timescale/promscale/pkg/version.Version=${version} -X github.com/timescale/promscale/pkg/version.CommitHash=${src.rev}" ];
|
|
|
|
doCheck = false; # Requires access to a docker daemon
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An open-source analytical platform for Prometheus metrics";
|
|
homepage = "https://github.com/timescale/promscale";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
|
};
|
|
}
|