Skip to content

Commit

Permalink
fixup! chore: bump yet-another-cloudwatch-exporter to v0.61.0
Browse files Browse the repository at this point in the history
JobLevelMetricFields has been removed with prometheus-community/yet-another-cloudwatch-exporter#1412
  • Loading branch information
morremeyer committed Sep 17, 2024
1 parent 7e50e69 commit 9cb1e62
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions internal/static/integrations/cloudwatch_exporter/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,6 @@ var expectedConfig = model.JobsConfig{
Regexp: regexp.MustCompile("instance/(?P<InstanceId>[^/]+)"),
DimensionsNames: []string{"InstanceId"},
}},
JobLevelMetricFields: model.JobLevelMetricFields{
Statistics: []string(nil),
Period: 0,
Length: 0,
Delay: 0,
NilToZero: &truePtr,
AddCloudwatchTimestamp: &falsePtr,
},
}, {
Regions: []string{"us-east-2"},
Type: "AWS/S3",
Expand All @@ -253,14 +245,6 @@ var expectedConfig = model.JobsConfig{
Regexp: regexp.MustCompile("(?P<BucketName>[^:]+)$"),
DimensionsNames: []string{"BucketName"},
}},
JobLevelMetricFields: model.JobLevelMetricFields{
Statistics: []string(nil),
Period: 0,
Length: 0,
Delay: 0,
NilToZero: &truePtr,
AddCloudwatchTimestamp: &falsePtr,
},
}},
StaticJobs: []model.StaticJob{{
Name: "custom_tesis_metrics",
Expand Down Expand Up @@ -314,14 +298,6 @@ var expectedConfig3 = model.JobsConfig{
Regexp: regexp.MustCompile("instance/(?P<InstanceId>[^/]+)"),
DimensionsNames: []string{"InstanceId"},
}},
JobLevelMetricFields: model.JobLevelMetricFields{
Statistics: []string(nil),
Period: 0,
Length: 0,
Delay: 0,
NilToZero: &falsePtr,
AddCloudwatchTimestamp: &falsePtr,
},
},
{
Regions: []string{"us-east-2"},
Expand Down Expand Up @@ -350,14 +326,6 @@ var expectedConfig3 = model.JobsConfig{
Regexp: regexp.MustCompile("(?P<BucketName>[^:]+)$"),
DimensionsNames: []string{"BucketName"},
}},
JobLevelMetricFields: model.JobLevelMetricFields{
Statistics: []string(nil),
Period: 0,
Length: 0,
Delay: 0,
NilToZero: &truePtr,
AddCloudwatchTimestamp: &falsePtr,
},
},
},
StaticJobs: []model.StaticJob{{
Expand Down

0 comments on commit 9cb1e62

Please sign in to comment.