pub fn new_layer(service_name: String, config: Config) -> Result<ApmLayer>
Constructs a new telemetry layer for given APM configuration.