aboutsummaryrefslogtreecommitdiff
path: root/kamon-core
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
commitfc22c55f1c5caac4a4921855c30b966722ec8157 (patch)
treeb3791628007315c645e05c2974940c2b08c5b3bd /kamon-core
parent0f4847445b31a2a76897f7405512a58fb4d4a1dd (diff)
downloadKamon-fc22c55f1c5caac4a4921855c30b966722ec8157.tar.gz
Kamon-fc22c55f1c5caac4a4921855c30b966722ec8157.tar.bz2
Kamon-fc22c55f1c5caac4a4921855c30b966722ec8157.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
Diffstat (limited to 'kamon-core')
-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 }