cbe7cf2 | brharrington | 06 February 2020, 15:44:31 UTC | update launcher url to use HTTPS (#1142) Bintray now requires HTTPS for downloading the artifacts. Also bump to the latest version. | 06 February 2020, 15:44:31 UTC |
d347560 | brharrington | 06 February 2020, 15:15:12 UTC | 1.6: update dependencies (#1143) | 06 February 2020, 15:15:12 UTC |
fe7d921 | Brian Harrington | 06 February 2020, 13:47:42 UTC | scala 2.13.1 | 06 February 2020, 13:47:42 UTC |
8ebc681 | Brian Harrington | 06 February 2020, 13:47:08 UTC | spectator 0.101.1 | 06 February 2020, 13:47:08 UTC |
1c07b77 | Brian Harrington | 06 February 2020, 13:46:29 UTC | slf4j 1.7.30 | 06 February 2020, 13:46:29 UTC |
1bf09ae | Brian Harrington | 06 February 2020, 13:45:57 UTC | scala 2.12.10 | 06 February 2020, 13:45:57 UTC |
b29732f | Brian Harrington | 06 February 2020, 13:45:19 UTC | jackson 2.10.2 | 06 February 2020, 13:45:19 UTC |
0e63f88 | Brian Harrington | 06 February 2020, 13:44:43 UTC | iep 2.1.9 | 06 February 2020, 13:44:43 UTC |
759371b | brharrington | 06 February 2020, 13:41:14 UTC | update settings in memory.conf (#1140) Update the memory.conf example to reflect move of graphing logic to eval library. | 06 February 2020, 13:41:14 UTC |
d737ee9 | Brian Harrington | 06 February 2020, 13:16:17 UTC | aws-java-sdk 1.11.702 | 06 February 2020, 13:16:17 UTC |
46c686b | Brian Harrington | 06 February 2020, 13:14:38 UTC | akka-http 10.1.11 | 06 February 2020, 13:14:38 UTC |
87c91ae | Brian Harrington | 06 February 2020, 13:12:58 UTC | akka 2.5.29 Improves performance of ByteString on scala 2.13. | 06 February 2020, 13:12:58 UTC |
450bcc1 | brharrington | 02 January 2020, 15:40:57 UTC | 1.6: update license headers for 2020 (#1122) | 02 January 2020, 15:40:57 UTC |
8d5eb41 | brharrington | 27 August 2019, 21:13:44 UTC | switch to discovery.status metric for eureka-avg (#1081) Backport of #1039. This is a newer version that avoids the need for regex and follows current conventions. | 27 August 2019, 21:13:44 UTC |
98a6563 | brharrington | 17 June 2019, 20:22:22 UTC | fix equality for custom averages (#1066) Backport #1063 to 1.6.x. Before it was creating a new instance of a function when generating the `MathExpr.NamedRewrite` object so the equality would never match. | 17 June 2019, 20:22:22 UTC |
30da47e | brharrington | 17 June 2019, 19:50:25 UTC | try disabling gigahorse (#1065) Backport #1064 to 1.6.x. Setting in the `build.properties` file doesn't seem to work for this setting (tried in #1062). | 17 June 2019, 19:50:25 UTC |
2b0996e | brharrington | 13 June 2019, 17:38:02 UTC | fix build settings for 2.13 to use `-release 8` (#1055) Before it was looking specifically for version 12. For now we still need to be able to run on jdk8+. The specific issue encountered was: ``` java.lang.NoSuchMethodError: java.nio.CharBuffer.clear()Ljava/nio/CharBuffer; at com.netflix.atlas.core.model.TaggedItem$.writePair(TaggedItem.scala:59) at com.netflix.atlas.core.model.TaggedItem$.computeId(TaggedItem.scala:105) at com.netflix.atlas.core.model.TimeSeries$.<clinit>(TimeSeries.scala:22) at com.netflix.atlas.core.model.EvalContext.<init>(EvalContext.scala:32) at com.netflix.atlas.druid.DruidDatabaseActorSuite.<init>(DruidDatabaseActorSuite.scala:259) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) ``` Also improves the check for recent JDKs. | 13 June 2019, 17:38:02 UTC |
a9b2821 | brharrington | 13 June 2019, 15:44:32 UTC | 1.6: update to scala 2.13.0 final (#1053) | 13 June 2019, 15:44:32 UTC |
562cd85 | brharrington | 05 June 2019, 23:42:56 UTC | 1.6: cross build for 2.13.0-RC3 (#1049) Backport #1048 to 1.6.x branch. Most changes are minor. For some of the custom collections they needed to be specific to the new version. Bump akka and jackson versions as the older versions do not have a published build for 2.13. | 05 June 2019, 23:42:56 UTC |
045de8c | brharrington | 01 May 2019, 22:28:44 UTC | fix deprecation warnings for ActorPublisher (#1037) Changes the processing for the `/fetch` endpoint to use streams instead of the deprecated ActorPublisher. | 01 May 2019, 22:28:44 UTC |
c783b88 | brharrington | 30 April 2019, 23:41:51 UTC | fix empty data case for math/count (#1036) It wasn't checking if the input was empty like the other aggregate functions. Now it performs the same check which avoids errors like: ``` must have 1 or more time series to perform aggregation ``` | 30 April 2019, 23:41:51 UTC |
049a878 | brharrington | 30 April 2019, 16:54:42 UTC | fix eval state for sparse lines with group by (#1035) Before, if a line was sparse, for example an error counter that has a lot of gaps, the state would be handled incorrectly. There would be one state item per matching grouping when data was present and they would only get moved forward if there was data for that key in a given interval. For intervals with no data, a no data line would get pushed through and have its own independent state. With this change, an empty group by result will push an empty data set through eval and it will now move the state buffers to allow for expiration and correct handling of subsequent intervals with data. If there is no resulting data lines from the overall expression, then a no data line for the overall expression will be emitted to the user. | 30 April 2019, 16:54:42 UTC |
4550be9 | brharrington | 29 April 2019, 21:47:02 UTC | detect empty state and stop tracking it (#1034) Updates the online algorithms used with stateful operators to detect if the state is effectively empty. In that case the state will be dropped from the state map maintained during evaluation. This is useful to avoid leaking memory for tracking the state during long running streaming evaluations. There are currently three exceptions that have an unbounded window and never become empty: ignore-N, sdes, and integral. Integral is generally not very useful in a streaming context so we may just prohibit that operation. For sdes (and ignore-N which is typically only used to align sdes), the current uses do not involve group by operations, so it shouldn't be an issue for now. We'll revisit in the future when there are concrete use-cases that are problematic for that operation. | 29 April 2019, 21:47:02 UTC |
a805a6a | brharrington | 26 April 2019, 22:19:07 UTC | fix tag results on MemoryDatabase.execute (#1031) The set of tags for the aggregated lines should be limited to the set that are exact matches in the query or are a part of a group by. Otherwise the grouping can have incorrect duplicates in the result set. Fixes #629. | 26 April 2019, 22:19:07 UTC |
cca15bb | brharrington | 26 April 2019, 22:09:09 UTC | expire interned queries after 12h (#1030) Switches from a ConcurrentHashMap to a Cache for the interned queries. This avoids a slow leak over time with churn in the set of queries. In practice, we have not seen enough churn for it to matter, but now queries that are no longer in use will expire and go away. Fixes #729. | 26 April 2019, 22:09:09 UTC |
bf69de1 | brharrington | 26 April 2019, 21:32:05 UTC | improve error message for invalid percentile data (#1029) The spectator-js client had a bug (Netflix/spectator-js#22) leading to duplicate values for a given count. This change updates the error message so it is easier to understand what is happening. Before it would just say `assertion failed`. | 26 April 2019, 21:32:05 UTC |
180fbaa | brharrington | 25 April 2019, 02:26:33 UTC | improve handling of empty legend string (#1028) Before it would fail with an error that is hard for a user to understand: ``` IllegalArgumentException: Can't add attribute to 0-length text ``` This error would only show up if the image legend was rendered causing further confusion because it wouldn't show up if the legend was suppressed. Now it will fallback to the default legend string if an empty string is specified. | 25 April 2019, 02:26:33 UTC |
b3206fa | brharrington | 25 April 2019, 02:19:29 UTC | remove inline rollup hooks on the api (#1027) Partially reverts #525. This removes the plumbing for the ids and rollups via the api. The usage for the internal DB have been retained. The reason for this is it adds additional complexity and risk to the backends and for most use-cases we are moving to the simple aggregator cluster instead (see atlas-aggregator in iep-apps). As we are not planning to exercise this as scale anytime soon, it is being removed from the APIs before 1.6 release. | 25 April 2019, 02:19:29 UTC |
49a4717 | Daniel Muino | 17 April 2019, 02:37:05 UTC | Add rolling-sum stateful operator (#1025) Sum of the values within a specified window. The sum will only be emitted if there are at least a minimum number of actual values (not `NaN`) within the window. Otherwise `NaN` will be emitted for that time period. | 17 April 2019, 02:37:05 UTC |
0fb0a09 | brharrington | 15 April 2019, 21:22:15 UTC | update dependencies (#1024) | 15 April 2019, 21:22:15 UTC |
dff6a1a | Brian Harrington | 15 April 2019, 21:02:07 UTC | equalsverifier 3.1.8 | 15 April 2019, 21:02:07 UTC |
9bc07aa | Brian Harrington | 15 April 2019, 20:58:26 UTC | RoaringBitmap 0.8.0 | 15 April 2019, 20:58:26 UTC |
ce57cda | Brian Harrington | 15 April 2019, 20:57:55 UTC | joda-convert 2.2.0 | 15 April 2019, 20:57:55 UTC |
a8bed68 | Brian Harrington | 15 April 2019, 20:56:52 UTC | aws-java-sdk 1.11.534 | 15 April 2019, 20:56:52 UTC |
26318f3 | Brian Harrington | 15 April 2019, 20:56:28 UTC | iep 2.0.1 | 15 April 2019, 20:56:28 UTC |
e98e25c | Brian Harrington | 15 April 2019, 20:44:03 UTC | spectator 0.90.0 | 15 April 2019, 20:44:03 UTC |
48fef1a | Brian Harrington | 15 April 2019, 20:43:21 UTC | caffeine 2.7.0 | 15 April 2019, 20:43:21 UTC |
1e2ebb6 | Brian Harrington | 15 April 2019, 20:13:36 UTC | akka-http 10.1.8 | 15 April 2019, 20:13:36 UTC |
493714e | Brian Harrington | 15 April 2019, 20:10:16 UTC | akka 2.5.22 | 15 April 2019, 20:10:16 UTC |
a3d3a20 | brharrington | 14 April 2019, 20:59:09 UTC | fix typo in rolling-{min,max} descriptions (#1023) `s/is can/can/` | 14 April 2019, 20:59:09 UTC |
3aa0bec | brharrington | 14 April 2019, 16:23:51 UTC | preserve offset for named rewrites (#1022) In some cases when the rewrite was not being used like an aggregate function, the offset would get lost. Fixes #1021. | 14 April 2019, 16:23:51 UTC |
579211f | brharrington | 12 April 2019, 02:16:39 UTC | fix unused method warnings (#1020) | 12 April 2019, 02:16:39 UTC |
c31db8c | brharrington | 11 April 2019, 23:28:05 UTC | add test case for stateful windows with no data (#1019) Verify that rolling window for stateful operators moves for intervals that have no data for the expression. | 11 April 2019, 23:28:05 UTC |
294f301 | brharrington | 05 April 2019, 13:47:45 UTC | support generated dataset for eval (#1018) Adds a `evaluator.createDatapointProcessor(DataSources)` method that can be used to process a generated set of datapoints rather than getting data from an LWC cluster. This can be used for tests or for using Atlas expressions over arbitrary event streams. Fixes #798. | 05 April 2019, 13:47:45 UTC |
179311d | Matt Zimmer | 29 March 2019, 23:17:52 UTC | Switch 2.12 build back to `osx` (#1017) Experiment showed that the 2.12 build with linux/trusty _does_ result in the correct version. | 29 March 2019, 23:17:52 UTC |
7971b7c | Matt Zimmer | 29 March 2019, 23:14:20 UTC | Explicitly fetch tags for build (#1016) Add `--tags` to the `git fetch --unshallow` command. Specifying just `--unshallow` or just `--tags` results in an artifact version of `0.1` when building on Travis with `osx`. | 29 March 2019, 23:14:20 UTC |
9c917f4 | Matt Zimmer | 29 March 2019, 22:42:10 UTC | Switch to linux/trusty for 2.12 build (#1015) Switch to linux/trusty for 2.12 build to match the 2.11 build. This is to observe whether the issue determining the version to use for publication has an OS component. | 29 March 2019, 22:42:10 UTC |
0638240 | Matt Zimmer | 29 March 2019, 22:08:01 UTC | Revert "Ensure git tags are available for build" (#1014) This did not have the desired affect and seems to have caused the 2.11 build to no longer work. This reverts commit 7f30c26. | 29 March 2019, 22:08:01 UTC |
646d366 | Matt Zimmer | 29 March 2019, 21:34:59 UTC | Ensure git tags are available for build (#1012) `git fetch --unshallow` was being used to get tags to set the artifact version. This has started failing on one of the builds. This commit switches to explicitly fetching tags via `git fetch --tags`. | 29 March 2019, 21:34:59 UTC |
3f5c03d | Matt Zimmer | 29 March 2019, 17:32:41 UTC | Fix lambda config (#1010) The code that loads `MetricCategory` instances from the config expects the `dimension` field, even if it's empty. This was causing the service to silently fail. In addition to fixing the `lambda` config, I've added tests that load the production config to improve the chances we'll catch this at build time. | 29 March 2019, 17:32:41 UTC |
02dc9b9 | brharrington | 29 March 2019, 17:03:58 UTC | improve logging for poller actor failures (#1011) Clearly log the initialization failure as an error for the poller manager. Avoids this getting overlooked if the detailed actor logging is not enabled. | 29 March 2019, 17:03:58 UTC |
a1f778c | Matt Zimmer | 28 March 2019, 02:10:14 UTC | Collect additional lambda metrics (#1008) Add collection of * `ConcurrentExecutions` * `UnreservedConcurrentExecutions` * `DeadLetterErrors` * `IteratorAge` Issue #1005 | 28 March 2019, 02:10:14 UTC |
bf9a99d | brharrington | 28 March 2019, 01:27:28 UTC | simplify log/power scale logic (#1009) Simplifies the logic for computing the log and power scales. Now it just applies the mapping function to the input bounds and the value prior to using a normal linear scale. | 28 March 2019, 01:27:28 UTC |
b5b9eae | brharrington | 20 March 2019, 03:03:18 UTC | update dependencies (#1006) | 20 March 2019, 03:03:18 UTC |
824d9ef | Brian Harrington | 20 March 2019, 02:52:29 UTC | aws-java-sdk 1.11.521 | 20 March 2019, 02:52:29 UTC |
d546872 | Brian Harrington | 20 March 2019, 02:36:35 UTC | equalsverifier 3.1.7 | 20 March 2019, 02:36:35 UTC |
a0bc227 | Brian Harrington | 20 March 2019, 02:34:44 UTC | scalatest 3.0.7 | 20 March 2019, 02:34:44 UTC |
f89c5d1 | Brian Harrington | 20 March 2019, 02:31:35 UTC | spectator 0.87.0 | 20 March 2019, 02:31:35 UTC |
8c4d12f | Brian Harrington | 20 March 2019, 02:29:02 UTC | iep 2.0.0 | 20 March 2019, 02:29:02 UTC |
5f95cba | Matt Zimmer | 07 March 2019, 20:52:38 UTC | Collect additional aurora replica metrics (#1003) Add collection of `AuroraReplicaLag` and `AuroraReplicaLagMaximum` (fixes #1002). | 07 March 2019, 20:52:38 UTC |
bab1872 | Matt Zimmer | 01 March 2019, 23:09:05 UTC | Improve CloudWatch metric lag handling (#1001) This is the first of potentially multiple commits to improve handling of CloudWatch metric lag. This first commit makes the time range of the query configurable and adds a metric to track the age (in CloudWatch periods) of the latest datapoint returned. This will enable assessing the distribution of ages across the namespaces and metrics collected. Those data will influence the approach for datapoints that are older than Atlas will accept. | 01 March 2019, 23:09:05 UTC |
ed1f1f2 | brharrington | 28 February 2019, 17:18:32 UTC | update dependencies (#1000) | 28 February 2019, 17:18:32 UTC |
782583a | Brian Harrington | 28 February 2019, 17:01:47 UTC | log4j 2.11.2 | 28 February 2019, 17:01:47 UTC |
77ce64f | Brian Harrington | 28 February 2019, 16:54:43 UTC | roaring bitmap 0.7.42 | 28 February 2019, 16:54:43 UTC |
23d59a2 | Brian Harrington | 28 February 2019, 16:53:49 UTC | equalsverifier 3.1.5 | 28 February 2019, 16:53:49 UTC |
7010f52 | Brian Harrington | 28 February 2019, 16:48:17 UTC | slf4j 1.7.26 | 28 February 2019, 16:48:17 UTC |
ed81688 | Brian Harrington | 28 February 2019, 16:36:21 UTC | scalatest 3.0.6 | 28 February 2019, 16:36:21 UTC |
47ea06c | Brian Harrington | 28 February 2019, 16:34:16 UTC | akka 2.5.21 | 28 February 2019, 16:34:16 UTC |
28f7b3a | Brian Harrington | 28 February 2019, 15:10:39 UTC | spectator 0.86.0 | 28 February 2019, 15:10:39 UTC |
29c2ad9 | Brian Harrington | 28 February 2019, 15:08:43 UTC | aws-java-sdk 1.11.501 | 28 February 2019, 15:08:43 UTC |
6e1be7f | Matt Zimmer | 28 February 2019, 15:04:55 UTC | Add NetworkELB TLS metrics (#997) See * https://aws.amazon.com/about-aws/whats-new/2019/01/network-load-balancer-now-supports-tls-termination/ * https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-cloudwatch-metrics.html | 28 February 2019, 15:04:55 UTC |
fd64f34 | Matt Zimmer | 28 February 2019, 02:15:28 UTC | Add NATGateway Metrics (#998) See https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway-cloudwatch.html | 28 February 2019, 02:15:28 UTC |
9fb970d | brharrington | 27 February 2019, 14:51:19 UTC | fix link on eval lib readme (#996) Reference to reactive streams publisher didn't match. | 27 February 2019, 14:51:19 UTC |
9ad7190 | brharrington | 22 February 2019, 06:17:23 UTC | add helpers for accessing materializer for stage (#995) In some cases, such as calling `discardEntityBytes` for an HTTP response, it is useful to access the materializer for the stage so the stream blueprint can be created without needing to pass in a materializer. | 22 February 2019, 06:17:23 UTC |
b151b50 | brharrington | 15 February 2019, 17:55:30 UTC | only use offset notation if there is duplication (#994) Adjusts the logic so that offset notation for the y-axis will only get used if there is an actual duplication for the major tick labels. See #991 for more information. | 15 February 2019, 17:55:30 UTC |
6c3e280 | brharrington | 01 February 2019, 00:30:38 UTC | avoid BoxesRunTime.equals for SmallHashMap (#990) For the QueryIndex on the streaming clusters a hot spot is `SmallHashMap.get`. Flame graphs show a significant and unnecessary overhead being `BoxesRunTime.equals`. This change updates 7 places in the code to avoid that call: **Before** ``` $ javap -verbose ./atlas-core/target/scala-2.12/classes/com/netflix/atlas/core/util/SmallHashMap.class | grep Boxes 46: invokestatic #1101 // Method scala/runtime/BoxesRunTime.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z 79: invokestatic #1101 // Method scala/runtime/BoxesRunTime.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z 105: invokestatic #1101 // Method scala/runtime/BoxesRunTime.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z 40: invokestatic #1155 // Method scala/runtime/BoxesRunTime.unboxToBoolean:(Ljava/lang/Object;)Z 29: invokestatic #1101 // Method scala/runtime/BoxesRunTime.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z 59: invokestatic #1101 // Method scala/runtime/BoxesRunTime.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z 17: invokestatic #1101 // Method scala/runtime/BoxesRunTime.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z 2: invokestatic #1101 // Method scala/runtime/BoxesRunTime.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z ``` **After** ``` $ javap -verbose ./atlas-core/target/scala-2.12/classes/com/netflix/atlas/core/util/SmallHashMap.class | grep Boxes 40: invokestatic #1154 // Method scala/runtime/BoxesRunTime.unboxToBoolean:(Ljava/lang/Object;)Z ``` | 01 February 2019, 00:30:38 UTC |
d7e92dc | brharrington | 31 January 2019, 22:31:05 UTC | QueryIndex: reduce overhead for checking entries (#989) Flame graphs on the prod clusters show a bit of overhead for filter and exists calls on the list of entries. This change converts it to a simple array and avoids using the collections framework methods. For the existing JMH test this resulted in about a 12% improvement. | 31 January 2019, 22:31:05 UTC |
5f5166a | brharrington | 29 January 2019, 22:30:29 UTC | add rolling-mean operator (#987) This is meant as an alternative to `:trend` that fixes a number of issues with that operator. Specifically: 1. The denominator for the average is the number of actual values, that is non-NaN entries, within the rolling buffer. The `:trend` operator always uses the window size which can create confusing drops because `NaN` values are effectively 0. 2. The minimum number of values permitted before emitting a mean can be specified by the user. 3. It is more consistent with other stateful operators in that it works on a window size relative to the step interval rather than a fixed time duration. 4. It is more consistent with similar operators in other tools such as the `rolling_mean` function provided by Panda. Fixes #958. | 29 January 2019, 22:30:29 UTC |
80322a9 | brharrington | 29 January 2019, 22:26:02 UTC | fix procedure syntax warnings (#988) Procedure syntax is deprecated in 2.13 and results in a lot of warnings when trying to build on that version of Scala. | 29 January 2019, 22:26:02 UTC |
fb09dd5 | brharrington | 29 January 2019, 20:36:22 UTC | update dependencies (#986) | 29 January 2019, 20:36:22 UTC |
d11f6aa | Brian Harrington | 29 January 2019, 18:31:37 UTC | equalsverifier 3.1.4 | 29 January 2019, 18:31:37 UTC |
c262b24 | Brian Harrington | 29 January 2019, 18:27:49 UTC | roaring bitmap 0.7.36 | 29 January 2019, 18:27:49 UTC |
52da9ed | Brian Harrington | 29 January 2019, 18:27:00 UTC | frigga 0.19.0 | 29 January 2019, 18:27:00 UTC |
4cf5e49 | Brian Harrington | 29 January 2019, 18:22:08 UTC | iep 1.2.10 | 29 January 2019, 18:22:08 UTC |
b965033 | Brian Harrington | 29 January 2019, 18:21:06 UTC | aws-java-sdk 1.11.482 | 29 January 2019, 18:21:06 UTC |
27c5f33 | Brian Harrington | 29 January 2019, 18:10:14 UTC | spectator 0.83.0 | 29 January 2019, 18:10:14 UTC |
8e2007e | Brian Harrington | 29 January 2019, 18:09:26 UTC | sbt-scalafmt 1.16 | 29 January 2019, 18:09:26 UTC |
2acb1a3 | Brian Harrington | 29 January 2019, 18:01:00 UTC | akka-http 10.1.7 | 29 January 2019, 18:01:00 UTC |
25016b1 | Brian Harrington | 29 January 2019, 18:00:02 UTC | akka 2.5.20 | 29 January 2019, 18:00:02 UTC |
ca7ffed | brharrington | 29 January 2019, 17:54:49 UTC | consistent state model for all stateful operators (#985) Updates all of the stateful operators to use the same online algorithm base classes. This also gives them a consistent representation of state that can easily be serialized and deserialized. This is a first step to possible future work of persisting the state of streaming evaluations so it can be replayed or the execution can be transitioned to another instance. | 29 January 2019, 17:54:49 UTC |
ccea49d | brharrington | 29 January 2019, 14:49:35 UTC | refactor to avoid AssignOrNamedArg (#984) This class was renamed in scala 2.13 (scala/scala@870131b). | 29 January 2019, 14:49:35 UTC |
d295803 | Matt Zimmer | 28 January 2019, 19:49:54 UTC | Throttle calls to CloudWatch (#983) We're hitting CloudWatch rate limits on a regular basis. However, the AWS limits should be sufficient for our overall per second call rate in the majority of cases. The current pattern of calls has bursts when the `Tick` message kicks off a collection, which causes the call rate to spike above the per second limit. This commit introduces call rate limiting to smooth out the request pattern. The Akka documentation for throttling request/response actor communication is incomplete. Through iteration playing around in a local toy app, I arrived at the implementation herein and confirmed that it works as expected. For this use case, it's important to ensure that either all or none of the `MetricMetadata` elements are added for processing. To satisfy that requirement, the full list is sent to the actor `Source` which then uses `flatMapConcat` to send each element individually through the throttle phase. This provides a stronger guarantee than the default, which could drop elements if the queue fills up. In practice, memory is more likely to be the limiting factor, given actors have unbounded mailboxes by default. Case in point, it was difficult to trigger the drop scenario in the local toy app. However, this approach more deterministically provides the stronger guarantee. | 28 January 2019, 19:49:54 UTC |
c56bc88 | brharrington | 23 January 2019, 22:23:54 UTC | use jdk8 for building the scala 2.11 artifacts (#982) Since 2.11 doesn't support the `--release` option, building on a newer version can lead to errors when running on jdk8. Specifically the return type of some methods changed in jdk9+. This should fix errors like: ``` Cause: java.lang.NoSuchMethodError: java.nio.CharBuffer.clear()Ljava/nio/CharBuffer; at com.netflix.atlas.core.model.TaggedItem$.writePair(TaggedItem.scala:59) at com.netflix.atlas.core.model.TaggedItem$.computeId(TaggedItem.scala:105) ``` This means that image tests will not run for the 2.11 build. | 23 January 2019, 22:23:54 UTC |
8b8881f | brharrington | 18 January 2019, 17:40:54 UTC | remove stat vars from output tags (#981) The stat vars are desired for substitutions (#878), but should not be included in the tag maps for the output. The output tags should be stable over time if evaluated incrementally. Including the stats breaks this because the values are dependent on the data for that time slice. | 18 January 2019, 17:40:54 UTC |
55b900a | brharrington | 18 January 2019, 00:50:33 UTC | add helper function to validation a datasource (#980) This can be used as an upfront check to filter out bad data sources rather than getting the failure via the stream. | 18 January 2019, 00:50:33 UTC |
b014def | brharrington | 08 January 2019, 21:13:50 UTC | update default grid colors (#979) This makes the grid colors lighter so they do not distract the viewer as much. These settings have been used internally for many years so this also reduces differences between the internal use at Netflix and OSS settings. | 08 January 2019, 21:13:50 UTC |
e10c574 | brharrington | 04 January 2019, 19:20:31 UTC | use dedicated object for algo state (#978) Before it was using a Config object for convenience. This switches it to a dedicated object that can be easily used with `Json.encode/decode` or other similar tools. This should also be more efficient for the more common use-cases because we can avoid creation of the needless config objects. | 04 January 2019, 19:20:31 UTC |
14efd74 | brharrington | 04 January 2019, 00:43:09 UTC | avoid conversion if already a ConfigValue (#977) In the docs site it is getting config 1.2 in the sbt classpath. There isn't an obvious way to force it to a newer version. The older version will fail if trying to convert a ConfigValue to a ConfigValue. For now we can workaround the problem by special casing that to avoid the unnecessary conversion. | 04 January 2019, 00:43:09 UTC |
87689ad | brharrington | 03 January 2019, 21:52:59 UTC | set --release for javac (#976) After switching to use jdk11 for the build, the java classes were getting compiled to class version 55 instead of 52. | 03 January 2019, 21:52:59 UTC |
bb7b319 | brharrington | 03 January 2019, 20:43:24 UTC | remove redis from travis config (#975) This is no longer needed for the Atlas build. | 03 January 2019, 20:43:24 UTC |