func (msf *MetricScraperFactory) ForSingularEntity(entity string) *MetricScraperFactory {
	msf.singularEntityMetrics = true
	msf.entity = entity
	return msf
}
ForSingularEntity sets the factory to construct an entity specific MetricScraper.
package factory
import (
	"errors"
	"strconv"
	proc "github.com/shirou/gopsutil/process"
	"github.com/docker/docker/client"
	"github.com/pesos/grofer/pkg/core"
	"github.com/pesos/grofer/pkg/metrics/container"
	"github.com/pesos/grofer/pkg/metrics/process"
)
type MetricScraperFactory struct {
	command core.Command
	singularEntityMetrics bool
	entity string
	scrapeIntervalMillisecond uint64
}
func NewMetricScraperFactory() *MetricScraperFactory {
	return &MetricScraperFactory{}
}
func (msf *MetricScraperFactory) ForCommand(command core.Command) *MetricScraperFactory {
	msf.command = command
	return msf
}