remove old deprecated cluster metrics, #21423
* corresponding was moved to akka-cluster-metrics, see http://doc.akka.io/docs/akka/2.4/project/migration-guide-2.3.x-2.4.x.html#New_Cluster_Metrics_Extension
This commit is contained in:
parent
6aa67703a8
commit
452b3f1406
43 changed files with 107 additions and 7797 deletions
|
|
@ -3,8 +3,6 @@
|
|||
*/
|
||||
package akka.cluster.protobuf
|
||||
|
||||
// TODO remove metrics
|
||||
|
||||
import akka.cluster._
|
||||
import akka.actor.{ ExtendedActorSystem, Address }
|
||||
import collection.immutable.SortedSet
|
||||
|
|
@ -73,17 +71,6 @@ class ClusterMessageSerializerSpec extends AkkaSpec(
|
|||
checkSerialization(GossipStatus(a1.uniqueAddress, g3.version))
|
||||
|
||||
checkSerialization(InternalClusterAction.Welcome(uniqueAddress, g2))
|
||||
|
||||
val mg = MetricsGossip(Set(
|
||||
NodeMetrics(a1.address, 4711, Set(Metric("foo", 1.2, None))),
|
||||
NodeMetrics(b1.address, 4712, Set(
|
||||
Metric("foo", 2.1, Some(EWMA(value = 100.0, alpha = 0.18))),
|
||||
Metric("bar1", Double.MinPositiveValue, None),
|
||||
Metric("bar2", Float.MaxValue, None),
|
||||
Metric("bar3", Int.MaxValue, None),
|
||||
Metric("bar4", Long.MaxValue, None),
|
||||
Metric("bar5", BigInt(Long.MaxValue), None)))))
|
||||
checkSerialization(MetricsGossipEnvelope(a1.address, mg, true))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue