(self, use_stream=False)
return endpoints
Returns all of either stream or default endpoints that the integration supports
        collecting metrics from based on the Plus API version
Returns all of either stream or default endpoints that the integration supports
        collecting metrics from based on the Plus API version
Returns all of either stream or default endpoints that the integration supports collecting metrics from based on the Plus API version
def _get_plus_api_endpoints(self, use_stream=False):
        """
        Returns all of either stream or default endpoints that the integration supports
        collecting metrics from based on the Plus API version
        """
        endpoints = iteritems({})

        available_plus_endpoints = PLUS_API_STREAM_ENDPOINTS if use_stream else PLUS_API_ENDPOINTS

        for earliest_version, new_endpoints in available_plus_endpoints.items():
            if int(self.plus_api_version) >= int(earliest_version):
                endpoints = chain(endpoints, iteritems(new_endpoints))
        return endpoints
def _get_plus_api_endpoints ( self , use_stream = False ) : endpoints = iteritems ( { } ) available_plus_endpoints = PLUS_API_STREAM_ENDPOINTS if use_stream else PLUS_API_ENDPOINTS for earliest_version , new_endpoints in available_plus_endpoints . items ( ) : if int ( self . plus_api_version ) >= int ( earliest_version ) : endpoints = chain ( endpoints , iteritems ( new_endpoints ) ) return endpoints