# ServicePlatform Connector Upgrade Version 3 to 4 ## Metrics TimeToBeReceived renamed to TimeToLive In version 4, the setting to configure the maximum time to live for [Metrics messages](/platform/json-schema.md#metrics) has been renamed from `TimeToBeReceived` to `TimeToLive`. This aligns it with the naming convention of similar settings for other sections of the configuration. ```cs var platformConnection = new ServicePlatformConnectionConfiguration { Metrics = new ServicePlatformMetricsConfiguration { TimeToLive = TimeSpan.FromSeconds(60) } }; endpointConfiguration.ConnectToServicePlatform(platformConnection); ``` ```cs var platformConnection = new ServicePlatformConnectionConfiguration { Metrics = new ServicePlatformMetricsConfiguration { TimeToBeReceived = TimeSpan.FromSeconds(60) } }; endpointConfiguration.ConnectToServicePlatform(platformConnection); ```