We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381a3cb commit 2ad528fCopy full SHA for 2ad528f
test/new-e2e/tests/containers/k8s_test.go
@@ -801,6 +801,24 @@ func (suite *k8sSuite) TestCPU() {
801
})
802
}
803
804
+func (suite *k8sSuite) TestKSM() {
805
+ suite.testMetric(&testMetricArgs{
806
+ Filter: testMetricFilterArgs{
807
+ Name: "kubernetes_state.vpa.count",
808
+ },
809
+ Expect: testMetricExpectArgs{
810
+ Tags: &[]string{
811
+ `^kube_cluster_name:` + regexp.QuoteMeta(suite.clusterName) + `$`,
812
+ `^kube_namespace:workload-(?:nginx|redis)$`,
813
814
+ Value: &testMetricExpectValueArgs{
815
+ Max: 1,
816
+ Min: 1,
817
818
819
+ })
820
+}
821
+
822
func (suite *k8sSuite) TestDogstatsdInAgent() {
823
// Test with UDS
824
suite.testDogstatsd(kubeNamespaceDogstatsWorkload, kubeDeploymentDogstatsdUDS)
0 commit comments