|
|
@@ -2445,6 +2445,24 @@ func Test_kubernetesScraper_scrapeDaemonSets(t *testing.T) {
|
|
|
Value: 0,
|
|
|
AdditionalInfo: map[string]string{},
|
|
|
},
|
|
|
+ {
|
|
|
+ Name: metric.DaemonSetArguments,
|
|
|
+ Labels: map[string]string{
|
|
|
+ source.UIDLabel: "uuid1",
|
|
|
+ source.NamespaceUIDLabel: "",
|
|
|
+ source.DaemonSetLabel: "daemonSet1",
|
|
|
+ source.ArgLabel: "bare-flag",
|
|
|
+ source.ValueLabel: "",
|
|
|
+ },
|
|
|
+ Value: 0,
|
|
|
+ AdditionalInfo: map[string]string{
|
|
|
+ source.UIDLabel: "uuid1",
|
|
|
+ source.NamespaceUIDLabel: "",
|
|
|
+ source.DaemonSetLabel: "daemonSet1",
|
|
|
+ source.ArgLabel: "bare-flag",
|
|
|
+ source.ValueLabel: "",
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
Name: metric.DaemonSetArguments,
|
|
|
Labels: map[string]string{
|