spotify / heroic

The Heroic Time Series Database
https://spotify.github.io/heroic/
Apache License 2.0
848 stars 109 forks source link

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

Closed sming closed 3 years ago

sming commented 3 years ago

Enforce Mandatory Client ID (Issue #704 was issue PRISM-2191)

Use Case Resolved:

Design & Implementation Notes

The Deployment Plan

From Plan of Action :

  1. Send a warning email to all of engineering that says uses have 1 month to start setting Client ID to something accountable
  2. Simultaneously, send the same message to #monitoring-users
  3. after 1 month, send the messages again
  4. push to canaries and try out some non-compliant and compliant requests to check it’s working
  5. Mop up any lingering questions/problems on #monitoring-users
  6. deploy to all heroic instances
  7. field any issues that arise
sming commented 3 years ago

Reopening because we're "pivoting" (yet again ¯_(ツ)_/¯) back to doing this filtering in Heroic.

codecov[bot] commented 3 years ago

Codecov Report

Merging #727 (e333355) into master (3597263) will increase coverage by 0.00%. The diff coverage is 76.47%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #727   +/-   ##
=========================================
  Coverage     55.00%   55.01%           
- Complexity     3148     3153    +5     
=========================================
  Files           746      747    +1     
  Lines         20377    20388   +11     
  Branches       1336     1337    +1     
=========================================
+ Hits          11208    11216    +8     
- Misses         8681     8684    +3     
  Partials        488      488           
Impacted Files Coverage Δ Complexity Δ
.../com/spotify/heroic/aggregation/simple/Module.java 78.46% <ø> (ø) 2.00 <0.00> (ø)
...spotify/heroic/consumer/pubsub/PubSubConsumer.java 50.00% <ø> (ø) 2.00 <0.00> (ø)
...com/spotify/heroic/aggregation/AbstractBucket.java 14.28% <ø> (ø) 1.00 <0.00> (ø)
...java/com/spotify/heroic/aggregation/AnyBucket.java 72.72% <ø> (ø) 4.00 <0.00> (ø)
...fy/heroic/metric/DistributionPointDeserialize.java 84.61% <ø> (ø) 3.00 <0.00> (ø)
.../com/spotify/heroic/metric/HeroicDistribution.java 100.00% <ø> (ø) 3.00 <0.00> (ø)
...ain/java/com/spotify/heroic/metric/MetricType.java 94.73% <ø> (ø) 6.00 <0.00> (ø)
...main/java/com/spotify/heroic/CoreQueryManager.java 75.21% <ø> (ø) 10.00 <0.00> (ø)
.../main/java/com/spotify/heroic/http/HttpServer.java 16.52% <0.00%> (-0.15%) 3.00 <0.00> (ø)
...potify/heroic/metric/bigtable/BigtableBackend.java 85.81% <ø> (ø) 61.00 <0.00> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3597263...e333355. Read the comment docs.