diff --git a/pkg/db/seeds/promtest/appuio_cloud_loadbalancer.jsonnet b/pkg/db/seeds/promtest/appuio_cloud_loadbalancer.jsonnet index 5c94218..c292e66 100644 --- a/pkg/db/seeds/promtest/appuio_cloud_loadbalancer.jsonnet +++ b/pkg/db/seeds/promtest/appuio_cloud_loadbalancer.jsonnet @@ -41,14 +41,11 @@ local baseCalculatedLabels = { c.test('unrelated kube_namespace_labels changes do not throw errors - there is an overlap since series go stale only after a few missed scrapes', baseSeries { - testprojectNamespaceOrgLabel+: { - values: '1x10 _x10 stale', - }, testprojectNamespaceOrgLabelUpdated: self.testprojectNamespaceOrgLabel { _labels+:: { custom_appuio_io_myid: '672004be-a86b-44e0-b446-1255a1f8b340', }, - values: '_x5 1x15', + values: '_x5 1x5', }, }, query, @@ -59,9 +56,6 @@ local baseCalculatedLabels = { c.test('organization changes do not throw many-to-many errors - there is an overlap since series go stale only after a few missed scrapes', baseSeries { - testprojectNamespaceOrgLabel+: { - values: '1x7 _x10 stale', - }, testprojectNamespaceOrgLabelUpdated: self.testprojectNamespaceOrgLabel { _labels+:: { label_appuio_io_organization: 'carrot-pickers-inc', @@ -69,7 +63,7 @@ local baseCalculatedLabels = { // We cheat here and use an impossible value. // Since we use min() and bottomk() in the query this priotizes this series less than the other. // It's ugly but it prevents flaky tests since otherwise one of the series gets picked randomly. - values: '_x2 2x15', + values: '_x2 2x8', }, }, query, diff --git a/pkg/db/seeds/promtest/appuio_cloud_memory.jsonnet b/pkg/db/seeds/promtest/appuio_cloud_memory.jsonnet index 825f808..436d802 100644 --- a/pkg/db/seeds/promtest/appuio_cloud_memory.jsonnet +++ b/pkg/db/seeds/promtest/appuio_cloud_memory.jsonnet @@ -230,9 +230,6 @@ local subQueryTests = [ c.test('organization changes do not throw many-to-many errors - there is an overlap since series go stale only after a few missed scrapes', baseSeries { - testprojectNamespaceOrgLabel+: { - values: '1x7 _x10 stale', - }, testprojectNamespaceOrgLabelUpdated: self.testprojectNamespaceOrgLabel { _labels+:: { label_appuio_io_organization: 'carrot-pickers-inc', @@ -241,13 +238,14 @@ local subQueryTests = [ // Since we use min() and bottomk() in the query this priotizes this series less than the other. // It's ugly but it prevents flaky tests since otherwise one of the series gets picked randomly. // Does not influence the result. The result is flored to a minimum of 128MiB. - values: '_x2 2x15', + values: '_x2 2x8', }, }, query, [ { labels: c.formatLabels(baseCalculatedLabels), + // TODO Identify why this is the case. // Same as above it's 11*128 other queries don't have this problem value: 128 * 9, }, diff --git a/pkg/db/seeds/promtest/appuio_cloud_persistent_storage.jsonnet b/pkg/db/seeds/promtest/appuio_cloud_persistent_storage.jsonnet index 7f920f5..d73d59a 100644 --- a/pkg/db/seeds/promtest/appuio_cloud_persistent_storage.jsonnet +++ b/pkg/db/seeds/promtest/appuio_cloud_persistent_storage.jsonnet @@ -80,14 +80,11 @@ local baseCalculatedLabels = { c.test('unrelated kube_namespace_labels changes do not throw errors - there is an overlap since series go stale only after a few missed scrapes', baseSeries { - testprojectNamespaceOrgLabel+: { - values: '1x10 _x10 stale', - }, testprojectNamespaceOrgLabelUpdated: self.testprojectNamespaceOrgLabel { _labels+:: { custom_appuio_io_myid: '672004be-a86b-44e0-b446-1255a1f8b340', }, - values: '_x5 1x15', + values: '_x5 1x5', }, }, query, @@ -98,9 +95,6 @@ local baseCalculatedLabels = { c.test('organization changes do not throw many-to-many errors - there is an overlap since series go stale only after a few missed scrapes', baseSeries { - testprojectNamespaceOrgLabel+: { - values: '1x7 _x10 stale', - }, testprojectNamespaceOrgLabelUpdated: self.testprojectNamespaceOrgLabel { _labels+:: { label_appuio_io_organization: 'carrot-pickers-inc', @@ -108,8 +102,8 @@ local baseCalculatedLabels = { // We cheat here and use an impossible value. // Since we use min() and bottomk() in the query this priotizes this series less than the other. // It's ugly but it prevents flaky tests since otherwise one of the series gets picked randomly. - // Does not influence the result. The result is flored to a minimum of 1GiB. - values: '_x2 2x15', + // Does not influence the result. The result is floored to a minimum of 1GiB. + values: '_x2 2x8', }, }, query,