Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
master

Commits on Mar 26, 2021

  1. Add deprecation notice to README (#767)

    lmuhlha committed Mar 26, 2021

Commits on Mar 4, 2021

  1. Implement new Bigtable timeout & retry settings (#733)

    * heroic-730 Implement new Bigtable timeout & retry settings
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * heroic-733 lowered timeouts, added more block comments.
    
    - passing all tests
    - next is to refactor the 5 parameters into a class
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * heroic-733 updated failing unit test
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * heroic-733 attempting refactor connection settings into one class
    
    so that they're not repeated several times over
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * updated timeout settings as agreed with @SergeyR on Slack
    
    * heroic-733 small settings & comment corrections
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * heroic-733 small settings & comment corrections
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * fixed runtime IT error in console & syntax warnings
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * added tagValuesTruncatedSuggestMany to exercise difference between CI
    
    and localhost IT test runs where it works locally but not in CI.
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * fixed checkstyle error.
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * fixed checkstyle error.
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * fixes logging in unit & integration tests.
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * fixes inconsistent tagValuesTruncatedSuggest behaviour
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * made the tests in *SuggestBackend*IT.java deterministic
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * increased time available for deleteSeries() to complete
    
    down the road all tests of this kind (timer-based) will
    need redoing as they're lame and brittle.
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * refactored 6 retry & timeout settings into new POD class
    
    which is then added as a field to BigtableBackend, Module etc.
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * reduced cohesion between modules by switching implementations
    
    from MetricsConnectionSettingsModule to MetricsConnectionSettings
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * moved MetricsConnectionSettingsModule to Bigtable module since...
    
    that's where it belongs, basically.
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * *actually* moved MetricsConnectionSettingsModule to Bigtable module
    
    since...that's where it belongs, basically.
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * added {@link ...} javadoc
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * fixed comment
    
    Signed-off-by: Peter Kingswell <peterk@spotify.com>
    
    * implemented review feedback
    
    - removed useless/confusing @JSON annotations
    - changed fields from Integer to int
    - also fixed code analysis warnings
    
    * Rename .java to .kt
    
    * PR feedback - refactored POD BT Java class to Kotlin
    
    * implemented a workaround for @Inject
    
    not working as documented (seemingly)
    
    * improved comments, removed unnecessary subclass
    
    * io.grpc -> 1.35.0 & bigtable-client-core -> 1.19.0
    
    * increasing heroic system test startup time by 30s
    
    to prevent the intermittent timeouts that are being observed.
    
    * fixed Could not find policy 'pick_first' exception.
    
    - occurred when a timeout happened
    - full message: java.lang.IllegalStateException: Could not find policy
    'pick_first'. Make sure its implementation is either registered to
    LoadBalancerRegistry or included in
    META-INF/services/io.grpc.LoadBalancerProvider from your jar files.
    
    * adds integration test for Bigtable timeouts
    
    * report the failing test's actual content
    
    * fix testBackendTimesOutCorrectly assertion
    
    * unit test fix attempt #2
    
    * set Google-default timeout and retry
    
    settings.
    tidied up docs too
    sming committed Mar 4, 2021
  2. Implement metric and log lines when a Bigtable request times out, per…

    … x-client-id (#763)
    
    * WIP BT timeout logging and metrics
    
    * commented new methods
    
    * increase timeout to get CI passing
    
    * retired reportClientIdSuccessCount + refactorings
    
    * refactoring + improved comment
    sming committed Mar 4, 2021

Commits on Feb 10, 2021

  1. Revert input variable to 'source' (#758)

    lmuhlha committed Feb 10, 2021

Commits on Feb 4, 2021

  1. improved Mandatory ID Filter to return info upon rejection (#751)

    sming committed Feb 4, 2021

Commits on Feb 1, 2021

  1. Remove legacy source input, move distribution type out of request inp…

    …ut (#749)
    lmuhlha committed Feb 1, 2021

Commits on Jan 27, 2021

  1. Remove static import statement that keep failing sporadically (#747)

    * Remove static import statement that keep failling sporadiclly
    
    * Remove redundant class Data.java
    ao2017 committed Jan 27, 2021

Commits on Jan 26, 2021

  1. Enforce Mandatory Client ID (Github Issue #704) (#727)

    this is the implementation of x-client-id header enforcement in Heroic (as opposed to the just-reverted Envoy implementation)
    sming committed Jan 26, 2021

Commits on Jan 25, 2021

  1. Dynamic Metadata Read Indices (#746)

    * dynamic read index count if config flag true
    
    * relocate config flag, prevent bad case of single mapping && dynamic
    
    * create helper function and add test
    
    * make maxReadIndices configurable for proper delete support. further bifurcation of index mapping classes
    
    * add docs
    adsail committed Jan 25, 2021

Commits on Jan 20, 2021

  1. Add a simple group combiners and additional IT tests. (#744)

    * Add distribution query integration test. (Part 2 of 2)
    
    * Addresses PR comments
    
    * Addresses PR comments
    
    * Add a new group combiner that handles tdigest query without aggregation
    
    * Addresses pr comments and add boilerplate methods to metricollection to handle tdigestPoint creation
    ao2017 committed Jan 20, 2021

Commits on Jan 14, 2021

  1. include mapping for metadata index interval (#743)

    * include mapping for metadata index interval
    
    * formatting
    adsail committed Jan 14, 2021

Commits on Jan 12, 2021

  1. Improve tracing and logging for write errors. (#740)

    This adds error flags and exception messages to the spans for
    metadata, suggest, and bigtable writes when the chain of futures
    fails. The same exceptions are also logged. Previously some
    exceptions, such as grpc errors, could be masked by sl4j settings.
    
    The trace for a metric write was cleaned up to remove several
    intermediary spans. These spans did not have useful information and
    had no branching paths, so they were just clutter in the overall
    trace.
    
    Closes #724.
    hexedpackets committed Jan 12, 2021

Commits on Jan 11, 2021

  1. Add distribution query integration test. (Part 2 of 2) (#737)

    * Add distribution query integration test. (Part 2 of 2)
    
    * Addresses PR comments
    
    * Addresses PR comments
    ao2017 committed Jan 11, 2021

Commits on Jan 6, 2021

  1. Moves Tdigest stat computation to SharedGroups combine phase. (Part 1…

    … of 2) (#734)
    
    * Moves tdigest stat computation to sharedGroups aggregation phase.
    This PR adds TdigestPoint, a datastructure  used during the last phase of aggregation.
    Unlike distributionPoint, tdigestPoint value are un-serialized tdigest.
    
    * Rename TdigestStatInstanceUtils and add copyright statement
    ao2017 committed Jan 6, 2021

Commits on Dec 18, 2020

  1. add Series getter for hashCode, modify write cache conditions, enhanc…

    …e test (#731)
    
    * add Series getter for hashCode, modify write cache conditions, update tests
    
    * eliminate dup code
    adsail committed Dec 18, 2020

Commits on Dec 8, 2020

  1. Codestyle: update from 6.x to 8.x (see precursor #720) (#726)

    sming committed Dec 8, 2020

Commits on Dec 7, 2020

  1. [WIP] Add DistributionPoint aggregation core components. (#728)

    * Ensure metrics that are explicitly set to zero are not dropped
    
    * Fixes a typo in distribution column family name
    
    * Add distributionPoint aggreagation components
    
    * Add tdigest percentile computation and thread safety
    
    * Remove failed test because it depends on module registration which is not included in the PR
    
    * Add javadoc to new classes
    
    * Remove unused import statement
    ao2017 committed Dec 7, 2020

Commits on Nov 20, 2020

  1. Optionally write metadata resource identifiers as tags (#725)

    * add config to optionally index RIs as tags, modify metadata request object to include RIs as tags
    
    * add provides method, fix codestyle
    
    * trace value as double
    
    * adjust implementation to use less mem
    
    * properly add RI keys
    
    * modify format for writing resource identifiers to elasticsearch, revise tests
    
    * duplicate tests, new metadata backend and config for index RI tests
    
    * codestyle
    
    * do not write resource key to elasticsearch
    
    * use appendData method for repeated code
    adsail committed Nov 20, 2020

Commits on Nov 10, 2020

  1. Fixes a typo in distribution column family name (#723)

    * Ensure metrics that are explicitly set to zero are not dropped
    
    * Fixes a typo in distribution column family name
    
    Co-authored-by: Lauren Muhlhauser <lmuhlha@gmail.com>
    ao2017 and lmuhlha committed Nov 10, 2020

Commits on Nov 3, 2020

  1. GitHub action workflow to build PRs in Docker images. (#718)

    Closes #716.
    hexedpackets committed Nov 3, 2020

Commits on Oct 30, 2020

  1. Fix logging (#717)

    malish8632 committed Oct 30, 2020

Commits on Oct 27, 2020

  1. implemented configurable Bigtable write batch size. (#706)

    sming committed Oct 27, 2020

Commits on Oct 23, 2020

  1. Remove experimental warning from HQL docs. (#708)

    HQL has been stable for quite some time. Depending on the result of
    481, we may decide to replace HQL. But for now it is disingenuous to
    list it as experimental.
    hexedpackets committed Oct 23, 2020

Commits on Oct 20, 2020

  1. Debug QuotaWatchers creation and cleaning (#702)

    * Remove cleaning of QuotaWatchers map; wrap main call to exception
    malish8632 committed Oct 20, 2020

Commits on Oct 15, 2020

  1. [WIP] Add distribution support to spotify100 and the ability to fetch…

    … distribution from bigTable. (#700)
    
    * Add distribution support to spotify100_proto and BigtableBackend writer
    
    * Add distribution support to spotify100_proto and BigtableBackend writer
    
    * Remove message type from spotify_100.proto
    
    * Add distribution support for spotity100 and BigTbableBackend Read/Write
    
    * Add distribution support for spotity100 and BigTbableBackend Read/Write
    
    * Add Javadoc comments to JsonMetric and code reformatting
    
    * Remove empty line from PubSubconsumerIT
    ao2017 committed Oct 15, 2020

Commits on Oct 3, 2020

  1. [WIP]Add distribution support to spotify100_proto and BigtableBackend…

    … writer (#699)
    
    * Add distribution support to spotify100_proto and BigtableBackend writer
    
    * Add distribution support to spotify100_proto and BigtableBackend writer
    
    * Remove message type from spotify_100.proto
    ao2017 committed Oct 3, 2020

Commits on Sep 24, 2020

Commits on Sep 22, 2020

  1. Implement a configurable ES result size (#685)

    sming committed Sep 22, 2020

Commits on Sep 17, 2020

  1. Add global data points stats (#696)

    * Add global data points stats
    malish8632 committed Sep 17, 2020
  2. Update protobuf version and force folsom to use latest version of spo…

    …tify:dns (#697)
    
    Co-authored-by: Samantha Fadrigalan <samanthanoellef@spotify.com>
    samfadrigalan and Samantha Fadrigalan committed Sep 17, 2020

Commits on Sep 8, 2020

  1. Moving quota watcher clean up to cover all queries (#693)

    malish8632 committed Sep 8, 2020

Commits on Sep 4, 2020

  1. Resolve Heroic compilation warnings (#692)

    * Fix type String? to CharSequence type mismatch
    
    * Remove use of depracated Metric functions and change param names to follow overridden AbstractBucket method param
    
    * Remove use of deprecated bt ColumnFamilies getter
    
    * Suppress depracation warning: function is already using recommended ResolvableFuture#fail(Throwable)
    
    * Use recommended way of creating NamedWatch
    
    Co-authored-by: Samantha Fadrigalan <samanthanoellef@spotify.com>
    samfadrigalan and Samantha Fadrigalan committed Sep 4, 2020

Commits on Sep 3, 2020

  1. Add total stats across all queries in local manager (#690)

    * Add total stats across all queries in local manager
    * Temporarily changed test emulator docker image
    malish8632 committed Sep 3, 2020

Commits on Aug 27, 2020

Older