Skip to content

Commit

Permalink
Pre-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
janstenpickle committed Sep 5, 2023
1 parent bc8d99a commit 2133e4f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 16 additions & 0 deletions core/src/main/scala/prometheus4cats/ExemplarSampler.scala
Original file line number Diff line number Diff line change
@@ -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, ~>}
Expand Down
4 changes: 1 addition & 3 deletions core/src/main/scala/prometheus4cats/OutcomeRecorder.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2133e4f

Please sign in to comment.