TimeSeriesManagerConfiguration
public struct TimeSeriesManagerConfiguration
Configuration for TimeSeries
-
Initializes an instance of of the TimeSereisManagerConfiguration.
Declaration
Swift
public init(predixZoneId: String, timeSeriesServiceURL: URL? = URL(string: "https://time-series-store-predix.run.aws-usw02-pr.ice.predix.io"))
Parameters
predixZoneId
The zone id for the Time Series Service you are targeting.
timeSeriesServiceURL
The URL to your Time Series Service instance. Default: https://time-series-store-predix.run.aws-usw02-pr.ice.predix.io/
-
Time Series host URL:
Example:
config.timeSeriesServiceURL = URL(string: "https://time-series-store-predix.run.aws-usw02-pr.ice.predix.io/")
Declaration
Swift
public var timeSeriesServiceURL: URL?
-
Time Series Predix zone id for a particular org. It should be listed under the
VCAP_SERVICES
/<Time Series Service name>/query
aszone-http-header-value
. It will be used asPredix-Zone-Id
paramter while making calls to the backend (commonly known as tenantId).Also see: Time Series Service Documentation
Declaration
Swift
public var predixZoneId: String