You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are exporting metrics to an instance of OpenTelemetry collector which has the following validation code:
// validateMetrics returns a bool representing whether the metric has a valid type and temporality combination and a// matching metric type and fieldfuncvalidateMetrics(metric pmetric.Metric) bool {
switchmetric.Type() {
casepmetric.MetricTypeGauge:
returnmetric.Gauge().DataPoints().Len() !=0casepmetric.MetricTypeSum:
returnmetric.Sum().DataPoints().Len() !=0&&metric.Sum().AggregationTemporality() ==pmetric.AggregationTemporalityCumulativecasepmetric.MetricTypeHistogram:
returnmetric.Histogram().DataPoints().Len() !=0&&metric.Histogram().AggregationTemporality() ==pmetric.AggregationTemporalityCumulativecasepmetric.MetricTypeSummary:
returnmetric.Summary().DataPoints().Len() !=0
}
returnfalse
}
We are getting the following failure which is the first case above:
We are exporting metrics to an instance of OpenTelemetry collector which has the following validation code:
We are getting the following failure which is the first case above:
It appears that
nodejs_active_requests
has no datapoints.I captured an export in the debugger and here is some sample data:
The text was updated successfully, but these errors were encountered: