File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ You must use the query bar to filter for a specific environment in versions prio
206206[options="header"]
207207|============
208208| Environment | Django/Flask | Default | Example
209- | `ELASTIC_APM_CLOUD_PROVIDER` | `CLOUD_PROVIDER` | `None ` | `"aws"`
209+ | `ELASTIC_APM_CLOUD_PROVIDER` | `CLOUD_PROVIDER` | `True ` | `"aws"`
210210|============
211211
212212This config value allows you to specify which cloud provider should be assumed
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ def get_cloud_info(self):
367367 """
368368 provider = self .config .cloud_provider
369369
370- if provider is False :
370+ if not provider :
371371 return {}
372372 if provider == "aws" :
373373 data = cloud .aws_metadata ()
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ class Config(_ConfigBase):
347347 django_transaction_name_from_route = _BoolConfigValue ("DJANGO_TRANSACTION_NAME_FROM_ROUTE" , default = False )
348348 disable_log_record_factory = _BoolConfigValue ("DISABLE_LOG_RECORD_FACTORY" , default = False )
349349 use_elastic_traceparent_header = _BoolConfigValue ("USE_ELASTIC_TRACEPARENT_HEADER" , default = True )
350- cloud_provider = _ConfigValue ("CLOUD_PROVIDER" , default = None )
350+ cloud_provider = _ConfigValue ("CLOUD_PROVIDER" , default = True )
351351
352352 @property
353353 def is_recording (self ):
You can’t perform that action at this time.
0 commit comments