Skip to content

Monitoring - add modelling statistics #3048

@tpurschke

Description

@tpurschke

In UI Monitoring - in LSB add Modelling with Sub Menu item "Statistics" under "Import" Item

Functionality

All data should be shown in a table with both count and calculated percent values of the count.

Query for modelling statistics:

query getAppStatistics {
  totalActive: owner_aggregate(where: {active: {_eq: true}}) {
    aggregate {
      count
    }
  }
  appsWithIps: owner_aggregate(where: {active: {_eq: true}, owner_networks_aggregate: {count: {predicate: {_gt: 0}}}}) {
    aggregate {
      count
    }
  }
  appsStartedModelling: owner_aggregate(where: {active: {_eq: true}, connections_aggregate: {count: {predicate: {_gt: 0}}}}) {
    aggregate {
      count
    }
  }
  comSvcAppsStartedModelling: owner_aggregate(where: {active: {_eq: true}, common_service_possible: {_eq: true}, connections_aggregate: {count: {predicate: {_gt: 0}}}}) {
    aggregate {
      count
    }
  }
  totalCommonSvcApps: owner_aggregate(where: {active: {_eq: true}, common_service_possible: {_eq: true}}) {
    aggregate {
      count
    }
  }
  totoalModelledConnections: modelling_connection_aggregate {
    aggregate {
      count
    }
  }
  modelledStandardConnections: modelling_connection_aggregate(where: {is_interface: {_eq: false} common_service: {_eq: false}}) {
    aggregate {
      count
    }
  }
  modelledInterfaces: modelling_connection_aggregate(where: {is_interface: {_eq: true}}) {
    aggregate {
      count
    }
  }
  modelledComSvcs: modelling_connection_aggregate(where: {common_service: {_eq: true}}) {
    aggregate {
      count
    }
  }
  unansweredInterfaces: owner_aggregate(where: {active: {_eq: true}, connections: {is_interface: {_eq: false}, common_service: {_eq: false}, used_interface_id: {_is_null: true}}}) {
    aggregate {
      count
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions