nixpkgs-suyu/pkgs/servers/monitoring/prometheus/promscale.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

promscale: 0.1.4 -> 0.2.0 This release adds support for TimescaleDB 2.0 multinode. This means all of TimescaleDB 2.0 features are now fully supported. This also means that Promscale now supports horizontal scalability across the entire stack! This release also includes performance improvements and bug fixes. At a high-level, this release: - Adds support for Multinode TimescaleDB. - Improved promQL query latency by 4x in some cases. - Reduced I/O used by the PostgreSQL stats collector substantially by changing autovacuum settings. - Fixed metrics produced by Promscale itself - PromQL engine supports @ modifier which is disabled by default. (see promql-evaluation-flags) - Added configuration for query timeout and default step interval - Improved UX Notes for people upgrading from 0.1.4 and before - The CLI and ENV option install-timescaledb was renamed to install-extension - Two new flags are added upgrade-extensions by default set to true will upgrade extensions if newer versions are available and upgrade-prerelease-extensions by default set to false enabling it will upgrade extensions to pre-prelease versions if pre-release versions are available. - We have changed the namespace of the metrics Promscale itself exposes from ts_prom to promscale. We have also updated the PromQL engine based metrics to have namespace as promscale instead of prometheus. So, metrics like prometheus_engine_query_duration_seconds will now be promscale_engine_query_duration_seconds. Prom-Migrator - Adds support for concurrent pulling and pushing to improve migration throughput. (Please note concurrent push is disabled by default as we've seen some issues migrating data to Thanos concurrently, which we are still working out).
2021-02-08 21:39:40 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "promscale";
2021-04-11 16:06:09 +02:00
version = "0.3.0";
src = fetchFromGitHub {
owner = "timescale";
repo = pname;
rev = version;
2021-04-11 16:06:09 +02:00
sha256 = "sha256-kZYFOuY6FFM35mP+o/YU5SM5H9ziOq9BQ8T1RX7rhGE=";
};
2021-04-11 16:06:09 +02:00
vendorSha256 = "sha256-1VOhDOfFE4BpDR4XfhLoXJFuTDkG1nx88tVvTF3ZVxU=";
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
promscale: 0.1.4 -> 0.2.0 This release adds support for TimescaleDB 2.0 multinode. This means all of TimescaleDB 2.0 features are now fully supported. This also means that Promscale now supports horizontal scalability across the entire stack! This release also includes performance improvements and bug fixes. At a high-level, this release: - Adds support for Multinode TimescaleDB. - Improved promQL query latency by 4x in some cases. - Reduced I/O used by the PostgreSQL stats collector substantially by changing autovacuum settings. - Fixed metrics produced by Promscale itself - PromQL engine supports @ modifier which is disabled by default. (see promql-evaluation-flags) - Added configuration for query timeout and default step interval - Improved UX Notes for people upgrading from 0.1.4 and before - The CLI and ENV option install-timescaledb was renamed to install-extension - Two new flags are added upgrade-extensions by default set to true will upgrade extensions if newer versions are available and upgrade-prerelease-extensions by default set to false enabling it will upgrade extensions to pre-prelease versions if pre-release versions are available. - We have changed the namespace of the metrics Promscale itself exposes from ts_prom to promscale. We have also updated the PromQL engine based metrics to have namespace as promscale instead of prometheus. So, metrics like prometheus_engine_query_duration_seconds will now be promscale_engine_query_duration_seconds. Prom-Migrator - Adds support for concurrent pulling and pushing to improve migration throughput. (Please note concurrent push is disabled by default as we've seen some issues migrating data to Thanos concurrently, which we are still working out).
2021-02-08 21:39:40 +01:00
doInstallCheck = true;
installCheckPhase = ''
if [[ "$("$out/bin/${pname}" -version)" == "${version}" ]]; then
echo '${pname} smoke check passed'
else
echo '${pname} smoke check failed'
exit 1
fi
'';
promscale: 0.1.4 -> 0.2.0 This release adds support for TimescaleDB 2.0 multinode. This means all of TimescaleDB 2.0 features are now fully supported. This also means that Promscale now supports horizontal scalability across the entire stack! This release also includes performance improvements and bug fixes. At a high-level, this release: - Adds support for Multinode TimescaleDB. - Improved promQL query latency by 4x in some cases. - Reduced I/O used by the PostgreSQL stats collector substantially by changing autovacuum settings. - Fixed metrics produced by Promscale itself - PromQL engine supports @ modifier which is disabled by default. (see promql-evaluation-flags) - Added configuration for query timeout and default step interval - Improved UX Notes for people upgrading from 0.1.4 and before - The CLI and ENV option install-timescaledb was renamed to install-extension - Two new flags are added upgrade-extensions by default set to true will upgrade extensions if newer versions are available and upgrade-prerelease-extensions by default set to false enabling it will upgrade extensions to pre-prelease versions if pre-release versions are available. - We have changed the namespace of the metrics Promscale itself exposes from ts_prom to promscale. We have also updated the PromQL engine based metrics to have namespace as promscale instead of prometheus. So, metrics like prometheus_engine_query_duration_seconds will now be promscale_engine_query_duration_seconds. Prom-Migrator - Adds support for concurrent pulling and pushing to improve migration throughput. (Please note concurrent push is disabled by default as we've seen some issues migrating data to Thanos concurrently, which we are still working out).
2021-02-08 21:39:40 +01:00
meta = with lib; {
description = "An open-source analytical platform for Prometheus metrics";
homepage = "https://github.com/timescale/promscale";
license = licenses.asl20;
platforms = platforms.unix;
2020-07-29 12:49:07 +02:00
maintainers = with maintainers; [ _0x4A6F ];
};
}