cloudfoundry/stratos

View on GitHub
src/frontend/packages/core/src/features/metrics/services/metrics-service.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function setupObservables has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private setupObservables() {
    this.metricsEndpoints$ = this.endpointsMonitor.currentPage$.pipe(
      map((endpoints: any) => {
        const result: MetricsEndpointProvider[] = [];
        const metrics = endpoints.filter(e => e.cnsi_type === 'metrics');

    There are no issues that match your filters.

    Category
    Status