From 1941bd6b82475f6e37b39a2127b616dbc6c2cc8c Mon Sep 17 00:00:00 2001 From: Diego Date: Sat, 18 Oct 2014 23:57:26 -0300 Subject: ! kamon-newrelic: * Avoid reporting data to Newrelic if no metrics have been collected * Implement error handling with NewRelic Agent * Minor refactor * close issue #7 and issue #17 --- .../src/main/scala/kamon/AkkaExtensionSwap.scala | 25 +++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'kamon-core/src/main') diff --git a/kamon-core/src/main/scala/kamon/AkkaExtensionSwap.scala b/kamon-core/src/main/scala/kamon/AkkaExtensionSwap.scala index c0994f2c..b7050c59 100644 --- a/kamon-core/src/main/scala/kamon/AkkaExtensionSwap.scala +++ b/kamon-core/src/main/scala/kamon/AkkaExtensionSwap.scala @@ -1,18 +1,19 @@ -/* =================================================== - * Copyright © 2013 the kamon project +/* + * ========================================================================================= + * Copyright © 2013-2014 the kamon project * - * 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 + * 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 + * 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. - * ========================================================== */ + * 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 kamon import akka.actor.{ Extension, ActorSystem, ExtensionId } -- cgit v1.2.3