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 d6840c6 commit 5761e80Copy full SHA for 5761e80
metrics/aws.rds/rds.go
@@ -164,6 +164,8 @@ func (m *RDS) Collect(ctx context.Context, levelName string) ([]blip.MetricValue
164
input.StartTime = &begin
165
input.EndTime = &now
166
167
+ blip.Debug("%s: GetMetricData [%+v]\n", m.monitorId, *input)
168
+
169
output, err := m.client.GetMetricData(ctx, input)
170
if err != nil {
171
return nil, err
@@ -173,6 +175,9 @@ func (m *RDS) Collect(ctx context.Context, levelName string) ([]blip.MetricValue
173
175
174
176
for i := range output.MetricDataResults {
177
r := output.MetricDataResults[i]
178
+ if len(r.Timestamps) == 0 {
179
+ blip.Debug("%s: zero data points for %s\n", m.monitorId, *r.Label)
180
+ }
181
for j := range r.Timestamps {
182
183
metric := *r.Label
0 commit comments