
org.opentripplanner.routing.framework.MicrometerUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.routing.framework;
import io.micrometer.core.instrument.Tag;
import java.util.Collection;
import java.util.List;
import org.opentripplanner.routing.api.request.RoutingTag;
public class MicrometerUtils {
public static List mapTimingTags(Collection tags) {
return tags
.stream()
.filter(RoutingTag::includeInMicrometerTiming)
.map(t -> Tag.of(t.getCategory().name(), t.getTag()))
.toList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy