func NewId()

in spectator/meter/id.go [82:95]


func NewId(name string, tags map[string]string) *Id {
	myTags := make(map[string]string)
	for k, v := range tags {
		myTags[k] = v
	}

	spectatorId := toSpectatorId(name, tags)

	return &Id{
		name:         name,
		tags:         myTags,
		spectatordId: spectatorId,
	}
}