def print_sample(self, metric_name, metric_value, type_value=None):
        # For backward compatibility, we also publish the monitor id as 'app' in all reported stats.  The old
        # Java agent did this and it is important to some dashboards.
        extra = {
            'app': self._id,
        }
        if type_value is not None:
            extra['type'] = type_value

        self._logger.emit_value(metric_name, metric_value, extra)
Combine info from compdef to raw docs
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/builtin_monitors/linux_process_metrics.py/BaseReader.print_sample--crossover with--dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/DocumentationStore.component_docs