diff --git a/core/src/main/scala/prometheus4cats/ExemplarSampler.scala b/core/src/main/scala/prometheus4cats/ExemplarSampler.scala index 02605bc..105ff2b 100644 --- a/core/src/main/scala/prometheus4cats/ExemplarSampler.scala +++ b/core/src/main/scala/prometheus4cats/ExemplarSampler.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Permutive + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package prometheus4cats import cats.{Applicative, ~>} diff --git a/core/src/main/scala/prometheus4cats/OutcomeRecorder.scala b/core/src/main/scala/prometheus4cats/OutcomeRecorder.scala index f11a414..f2deeaa 100644 --- a/core/src/main/scala/prometheus4cats/OutcomeRecorder.scala +++ b/core/src/main/scala/prometheus4cats/OutcomeRecorder.scala @@ -19,9 +19,7 @@ package prometheus4cats import cats.effect.kernel.syntax.monadCancel._ import cats.effect.kernel.{Clock, MonadCancelThrow, Outcome} import cats.syntax.flatMap._ -import cats.syntax.foldable._ -import cats.syntax.functor._ -import cats.{Applicative, FlatMap, Monad, Show, ~>} +import cats.{FlatMap, Monad, Show, ~>} import prometheus4cats.internal.Neq /** A derived metric type that records the outcome of an operation. See [[OutcomeRecorder.fromCounter]] and