function set(name, value, data) {
  addToMetricsAggregator(constants.SET_METRIC_TYPE, name, value, data);
}
Adds a value to a gauge metric

@experimental This API is experimental and might have breaking changes in the future.