def METHOD_NAME(self):
    # type: () -> Tuple[Optional[bool], float]
    # Set default analytics configuration, default is disabled
    # DEV: Default to `None` which means do not set this key
    # Inject environment variables for integration
    _ = os.getenv(
        "DD_TRACE_%s_ANALYTICS_ENABLED" % self.integration_name.upper(),
        os.getenv("DD_%s_ANALYTICS_ENABLED" % self.integration_name.upper()),
    )
    analytics_enabled = asbool(_) if _ is not None else None
    analytics_sample_rate = float(
        os.getenv(
            "DD_TRACE_%s_ANALYTICS_SAMPLE_RATE" % self.integration_name.upper(),
            os.getenv("DD_%s_ANALYTICS_SAMPLE_RATE" % self.integration_name.upper(), default=1.0),
        )
    )
    return analytics_enabled, analytics_sample_rate