Permalink
Commits on Jan 27, 2018
  1. add Automatic-Module-Name to manifest (#442)

    brharrington committed Jan 27, 2018
    Should help avoid compatibility problems in the future
    if users try to pull these in before we support a proper
    `module-info.java`. For more details see:
    
    http://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html
Commits on Jan 23, 2018
  1. Merge pull request #441 from dmuino/dynamic-gauge

    dmuino committed Jan 23, 2018
    Dynamic gauge that auto-expires
  2. Dynamic gauge that auto-expires

    dmuino committed Jan 23, 2018
    Similar to a `DynamicCounter`. Mostly for backwards compatibility with
    some old applications. Its usage can be surprising so it's not
    recommended for general usage.
Commits on Jan 17, 2018
  1. fix name of publish env variable (#440)

    brharrington committed Jan 17, 2018
    It was `BINTRAY_PUBLISH` in the travis config but the
    script is checking `GRADLE_PUBLISH`.
  2. Merge pull request #438 from brharrington/deps

    dmuino committed Jan 17, 2018
    update dependencies
  3. Merge pull request #437 from dmuino/count-timeouts

    dmuino committed Jan 17, 2018
    Add timeout exception counter to the registry
  4. update dependencies

    brharrington committed Jan 17, 2018
    Update the dependency list to match what we are
    using internally. Also trim down the list to
    those that are relevant to this project.
  5. Track errors from getting a value from a Monitor

    dmuino committed Jan 17, 2018
    Extend the tracking of errors from just timeout exceptions to any
    exception that results from calling `getValue` on a `Monitor`
  6. Add timeout exception counter to the registry

    dmuino committed Jan 17, 2018
    Count the number of times we triggered a timeout exception getting the
    value of a monitor.
Commits on Jan 8, 2018
  1. Merge pull request #436 from brharrington/status

    dmuino committed Jan 8, 2018
    clarify project status
  2. update to nebula 5 and gradle 4.4 (#435)

    brharrington committed Jan 8, 2018
    Keeps us in sync with versions recommended by engtools.
  3. clarify project status

    brharrington committed Jan 8, 2018
    We have mentioned this several times in issues that
    come up, but it isn't necessarily easy for someone
    to find. This change adds a prominent notice about
    the current status to the top of the main readme.
Commits on Oct 25, 2017
  1. Switch to Files.createTempFile to dump payload (#430)

    dmuino authored and brharrington committed Oct 25, 2017
    This should prevent a conflict when writing the atlas payload in case
    we send data at the same millisecond to atlas
Commits on Oct 24, 2017
  1. Hooks to dump the JSON payload sent to atlas (#429)

    dmuino authored and brharrington committed Oct 24, 2017
    Add hooks to be able to dump the JSON payload sent to atlas backends.
    This is a bit more useful to debug certain use cases than
    `FileMetricsObserver`
Commits on Oct 11, 2017
  1. Upgrade pmd to 5.6.1 to avoid NPE (#426)

    dmuino authored and brharrington committed Oct 11, 2017
    With the pmd version 5.5.4 we're now getting:
    
    ```
    Exception applying rule InvalidSlf4jMessageFormat on file servo/servo-core/src/main/java/com/netflix/servo/DefaultMonitorRegistry.java, continuing with next rule
    java.lang.NullPointerException
    ```
  2. Merge pull request #425 from brharrington/jdk9

    dmuino committed Oct 11, 2017
    enable CI builds for jdk8 and jdk9
  3. enable CI builds for jdk8 and jdk9

    brharrington committed Oct 11, 2017
    Ensure that code will build and tests work when using
    jdk9.
  4. Merge pull request #424 from brharrington/nebula-4

    dmuino committed Oct 11, 2017
    update to nebula 4 and gradle 4.1
  5. update to nebula 4 and gradle 4.1

    brharrington committed Oct 11, 2017
    It has improved support for jdk9.
  6. Merge pull request #422 from brharrington/graphite-test

    dmuino committed Oct 11, 2017
    use localhost explicitly for graphite test
  7. Merge pull request #423 from brharrington/pmd-5

    dmuino committed Oct 11, 2017
    update to pmd 5.5.4
  8. use localhost explicitly for graphite test

    brharrington committed Oct 11, 2017
    In many cases the ip used before would not allow access
    in causing the connections to timeout.
  9. update to pmd 5.5.4

    brharrington committed Oct 11, 2017
    Prepare for moving to newer version of nebula/gradle.
Commits on Aug 4, 2017
  1. Allow AtlasMetricObserver to be stopped (#420)

    dmuino authored and brharrington committed Aug 4, 2017
    `AtlasMetricObserver` creates a thread to push metrics to the backend.
    It now adds a new method, `stop`, so the thread can be cleaned up.
Commits on Jun 4, 2017
  1. variance is imprecise when size is small (#418)

    evernat authored and brharrington committed Jun 4, 2017
    In my opinion the current variance (and by consequence
    the standard deviation) computation are imprecise, when
    curSize is not high (when curSize < 10 for example):
    
    ```java
        variance = (sumSquares / curSize) - (mean * mean);
    ```
    
    The computation I suggest in this pull request does not hurt
    and is precise:
    
    ```java
        if (curSize == 1) {
          variance = 0d;
        } else {
          variance = (sumSquares - ((double) total * total / curSize)) / (curSize - 1);
        }
    ```
    
    For reference:
    http://web.archive.org/web/20050512031826/http://helios.bto.ed.ac.uk/bto/statistics/tress3.html
Commits on May 25, 2017
  1. fix #410, log AmazonServiceException (#417)

    brharrington committed May 25, 2017
    Logs AmazonServiceException just like other exceptions
    when publishing cloudwatch data. Helps make debugging
    easier if the publish is failing due to bad or expired
    credentials.
Commits on Apr 5, 2017
  1. Merge pull request #416 from brharrington/dep-updates

    dmuino committed Apr 5, 2017
    update dependencies
  2. update dependencies

    brharrington committed Apr 5, 2017
    Update to newer shadowed iep jars that remove the
    dependency on rxnetty-contexts. The shadowed version
    had duplicate classes with netflix:server-context
    causing a lot of noisy warnings from nebula.
Commits on Mar 27, 2017
  1. Merge pull request #415 from etleap/master

    dmuino committed Mar 27, 2017
    Sets AUTOSCALE_GROUP to UNDEFINED if there is no autoscaling group wi…
  2. Sets AUTOSCALE_GROUP to UNDEFINED if there is no autoscaling group wi…

    romming committed Mar 27, 2017
    …thout logging an error.
Commits on Mar 21, 2017
  1. Use year-month-day by default in file names (#414)

    dmuino authored and brharrington committed Mar 21, 2017
    The default date format for file metrics observer was using
    year-day-month, which is quite unintuitive. This updates the default
    format to year-month-day.
Commits on Mar 16, 2017
  1. Update aws sdk version (#413)

    dmuino authored and brharrington committed Mar 16, 2017
    Make sure servo depends on 1.11.93 which is needed
    to use the builders with region support.
Commits on Mar 11, 2017
  1. Relax Atlas Validation rules for some group tags (#411)

    dmuino authored and brharrington committed Mar 11, 2017
    Allows '^' and '~' as values for nf.asg and nf.cluster, but still
    rejects them for other tags.
Commits on Feb 8, 2017
  1. Merge pull request #408 from meleshuk/reduce_allocations

    dmuino committed Feb 8, 2017
    Heavy metrics polling results in very frequent invocation of ValidCha…
  2. Heavy metrics polling results in very frequent invocation of ValidCha…

    Vadim Meleshuk
    Vadim Meleshuk committed Feb 8, 2017
    …racters.toValidCharset, which, most of the time, unnecessarily allocates string copies, which creates measurable impact on garbage allocation (#2 StringBuilder abuser in the app I looked at, 100MB/min of char[] allocation).
    
    Proposed change takes a tiny hit checking for invalid characters first before making a copy; I suspect that was the initial intention anyway.