def add_dimensions(self, dimensions):
with self._lock:<EOL><INDENT>self._extra_dimensions.update(dimensions)<EOL><DEDENT>
Add one or more dimensions that will be included with every
        datapoint and event sent to SignalFx.

        Args:
            dimensions (dict): A mapping of {dimension: value, ...} pairs.