import * as tsplus_module_1 from "@effect/core/io/Metrics/MetricLabel";
import * as tsplus_module_2 from "@tsplus/stdlib/collections/HashSet/make";
import * as tsplus_module_3 from "@effect/core/io/Metrics/operations/taggedWithLabelSet";
/**
 * Returns a new metric, which is identical in every way to this one, except
 * the specified tags have been added to the tags of this metric.
 *
 * @tsplus fluent ets/Metrics/Metric tagged
 */

export function tagged_(self, key, value) {
  return tsplus_module_3.taggedWithLabelSet_(self, tsplus_module_2.make(tsplus_module_1.make(key, value)));
}
/**
 * Returns a new metric, which is identical in every way to this one, except
 * the specified tags have been added to the tags of this metric.
 *
 * @tsplus static ets/Metrics/Metric/Aspects tagged
 */

export const tagged = (key, value) => self => tagged_(self, key, value);
//# sourceMappingURL=tagged.mjs.map