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
As SwiftMetrics is now already included when using kitura init, adding the following code starts a second SwiftMetrics instance leading to the dashboard displaying multiple versions of each metric (e.g. memory, cpu, etc.) and display issues with the tables:
import SwiftMetrics
import SwiftMetricsDash
// Enable SwiftMetrics Monitoringletsm=trySwiftMetrics()// Pass SwiftMetrics to the dashboard for visualisingletsmd=trySwiftMetricsDash(swiftMetricsInstance : sm)
Screenshot of issue:
Environment Details
macOS 10.13.5, Swift 4.2.1, Xcode 9.4.1
Steps to Reproduce
Run kitura init to create a new project
Add the above code to the project
Run the project and access the SwiftMetricsDash from localhost:[port_no]/swiftmetrics-dash
Each metrics graph is duplicated multiple times and incorrectly displayed.
The text was updated successfully, but these errors were encountered:
As SwiftMetrics is now already included when using
kitura init
, adding the following code starts a second SwiftMetrics instance leading to the dashboard displaying multiple versions of each metric (e.g. memory, cpu, etc.) and display issues with the tables:Screenshot of issue:
Environment Details
macOS 10.13.5, Swift 4.2.1, Xcode 9.4.1
Steps to Reproduce
kitura init
to create a new projectThe text was updated successfully, but these errors were encountered: