aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2014-10-18 23:57:26 -0300
committerDiego <diegolparra@gmail.com>2014-10-18 23:57:26 -0300
commit1941bd6b82475f6e37b39a2127b616dbc6c2cc8c (patch)
tree8037c4747053ee2ba3b2c9dcad4737595e484e2f
parent0b2bd1138a508e28b8951df46ccf1bc476d90848 (diff)
downloadKamon-1941bd6b82475f6e37b39a2127b616dbc6c2cc8c.tar.gz
Kamon-1941bd6b82475f6e37b39a2127b616dbc6c2cc8c.tar.bz2
Kamon-1941bd6b82475f6e37b39a2127b616dbc6c2cc8c.zip
! 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
-rw-r--r--kamon-core/src/main/scala/kamon/AkkaExtensionSwap.scala25
1 files changed, 13 insertions, 12 deletions
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 <http://kamon.io/>
+/*
+ * =========================================================================================
+ * Copyright © 2013-2014 the kamon project <http://kamon.io/>
*
- * 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 }