Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from upstream repository #267

Merged
merged 45 commits into from
Mar 2, 2024
Merged

Update from upstream repository #267

merged 45 commits into from
Mar 2, 2024

Commits on Feb 20, 2024

  1. fix(deps): update github.com/axiomhq/hyperloglog digest to 24bca3a (m…

    …ain) (#11756)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    0660cfc View commit details
    Browse the repository at this point in the history
  2. Tail queue (#11930)

    salvacorts committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    b7cb85f View commit details
    Browse the repository at this point in the history
  3. feat: Support split align and caching for instant metric query results (

    #11814)
    
    Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
    kavirajk committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    fac5997 View commit details
    Browse the repository at this point in the history
  4. Add o11y for chunk data retrieved from ingesters (#12003)

    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    bdea0b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6204886 View commit details
    Browse the repository at this point in the history
  6. Map ring token keyspace (uint32) into fingerprint keyspace (uint64) (#…

    …11975)
    
    In order to compare the keyspace from the bloom gateway's ring with the fingerprints, they need to use the same keyspace.
    
    The ring, however, uses tokens within a `uint32` keyspace, whereas the fingerprints use a `uint64` keyspace.
    Therefore the ranges from the ring tokens need to be mapped into the `uint64` keyspace. This is done bit-shifting the Min value 32 bits to the left and the Max value 32 bits to the left plus adding `(1<<32)-1` to "fill" the remaining values up to the next Min value.
    
    The structs used to combined ring instance information and token/fingerprint ranges are yet to be simplified. However, this is not goal of this PR.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    Co-authored-by: Owen Diehl <ow.diehl@gmail.com>
    chaudum and owen-d committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    71fa802 View commit details
    Browse the repository at this point in the history
  7. Remove unnecessary ingester fields from metrics.go which only work in…

    … single binary (#12005)
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    eb1379a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1662298 View commit details
    Browse the repository at this point in the history
  9. quantile sharding; fix bug related to # of steps (instant query mem u…

    …sage) and use CollapsingLowestDense store for ddsketch (#11905)
    
    Signed-off-by: Callum Styan <callumstyan@gmail.com>
    cstyan committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    b91bcec View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    09aa0f8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    65b3ec4 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. fix(operator): Support using multiple buckets with AWS STS (#12008)

    Co-authored-by: Periklis Tsirakidis <periklis@redhat.com>
    xperimental and periklis committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    1f3e64b View commit details
    Browse the repository at this point in the history
  2. test: Use table prefix in bloomstore tests (#12022)

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    b9d8eef View commit details
    Browse the repository at this point in the history
  3. feat(operator): Extend Azure secret validation (#12007)

    Co-authored-by: Periklis Tsirakidis <periklis@redhat.com>
    xperimental and periklis committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    aeaefe6 View commit details
    Browse the repository at this point in the history
  4. refactor(blooms): refactors blockLoadingIter, exposing more error c…

    …ases + additional metrics (#12015)
    owen-d committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    e835b61 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1dce7b5 View commit details
    Browse the repository at this point in the history
  6. docs: Restore link to flog (#12011)

    Co-authored-by: Trevor Whitney <trevorjwhitney@gmail.com>
    JStickler and trevorwhitney committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6e4a9f3 View commit details
    Browse the repository at this point in the history
  7. refactor: Limit processing of blocks to requested fingerprint ranges …

    …in bloom gateway (#11987)
    
    This PR limits the amount of data being processed for a single multiplexed iteration to the union of the fingerprint bounds of its requests, instead of looking at blocks from the complete fingerprint range.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    b47f2bf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    edc9a44 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. refactor: Simplify fingerprint partitioning in bloom gateway client (#…

    …12018)
    
    Use the recently introduced `tokenRangesForInstance()` function to determine the the ranges for each replication set.
    
    For this purpose, the function moves into the `bloomutils` packages.
    
    This PR eliminates the structs `addrsWithBounds` and `instanceWithFingerprints` (which had somewhat similar usage) and unifies them into `rsWithRanges` that holds both the fingerprint ranges and the assigned GroupedChunkRefs.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    1f56da2 View commit details
    Browse the repository at this point in the history
  2. chore(blooms): Improve how block directory is extracted (#12030)

    This PR contains two changes:
    
    1) Extracting the block without an intermediate temp file.
       The commit is cherry-picked from #12021, but that PR got merged into the wrong branch 🙈 
    
    2) Strip `.tar.gz` suffix from block file when extracting it into a directory.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    32a9a3f View commit details
    Browse the repository at this point in the history
  3. feat: area/helm: Added missing default values to support ServerSideAp…

    …ply (#11567)
    
    Signed-off-by: Sheikh-Abubaker <sheikhabubaker761@gmail.com>
    Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
    Co-authored-by: Karsten Jeschkies <karsten.jeschkies@grafana.com>
    3 people committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    817c516 View commit details
    Browse the repository at this point in the history
  4. fix: Ensure working dir for bloomstore exists (#12019)

    Fail startup if directory does not exist or there are not enough permissions. This prevents the bloomstore to fail later in the process once it tries to download and extract blocks.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    b9ce005 View commit details
    Browse the repository at this point in the history
  5. chore(blooms): Various fixes in blooms read path (#12036)

    * Wire up bloom querier metrics to fix nil pointer panic
    * Use `bloomutils.TokenRangesForInstance` instead of `subRing.GetTokenRangesForInstance` to avoid `zone not set` error
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    dbea8ba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    782b938 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    4fa5148 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8193063 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c8992f View commit details
    Browse the repository at this point in the history
  4. chore(blooms): Implement BloomStore as a service (#12044)

    The bloomstore service is instantiated once at startup and used as dependency for both the bloom compactor and the bloom gateway.
    
    This will prevent instantiating the store in different ways.
    
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    2f54f8d View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. Configuration menu
    Copy the full SHA
    6578a00 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. chore(blooms): Populate blocks cache on startup (#12056)

    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    cb7e016 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60f75f3 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. chore: Change local setup under dev to use tsdb and v13 schema (#12057)

    Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
    shantanualsi and chaudum committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    b1a61b3 View commit details
    Browse the repository at this point in the history
  2. feat(querier/query-frontend): track and log congestion control latency (

    #12058)
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    609fdb3 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. fix(query/query-frontend): correct congestion control stats aggregati…

    …on (#12072)
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b5f488c View commit details
    Browse the repository at this point in the history
  2. fix(blooms): Fix issue when loading cache on startup if directory doe…

    …s not exist (#12080)
    
    The check `!dirEntry.IsDir()` panicked in case `dirEntry` is `nil`, which is the case when the root directory does not exist.
    
    The PR also adds more logging.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    637c292 View commit details
    Browse the repository at this point in the history
  3. chore(blooms): Use bloomshipper.Interval instead of model.Interval (

    #12079)
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    184d1de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c39786b View commit details
    Browse the repository at this point in the history
  5. chore(release-2.8.x): release 2.8.9 and 2.8.10 (#12089)

    Co-authored-by: loki-gh-app[bot] <160051081+loki-gh-app[bot]@users.noreply.github.com>
    trevorwhitney and loki-gh-app[bot] committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    c1fbab5 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. docs: restore links, update procedure in Quick Start (#12068)

    Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
    JStickler and jdbaldry committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    0ac42e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b24d48d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77a2580 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. chore(blooms): Add more instrumentation to bloom gateway and bloom st…

    …ore (#12048)
    
    * Add metric for size of metas/blocks fetched
    
    Getting the distribution of the uncompressed size of metas and blocks,
    grouped by their source (cache/filesystem/storage).
    
    * Move blocks/metas fetched metrics into bloomstore
    
    * Add minimal logging to bloom gateway processor
    
    * Observe queue duration of tasks
    
    The histogram metric gives us the insight about how long tasks spend
    their time enqueued waiting to be processed.
    
    * Remove queueMetrics field from bloom gateway struct
    
    The metrics are only used by the queue instance, which is part of the
    bloom gateway struct as well.
    
    * Move various bloom gateway metrics into separate file
    
    This commit introduces a new metrics struct that contains both the
    metrics specific the server/handler and the metrics specific to the
    worker.
    
    This has the advantage that metrics can be instantiated and accessed
    from one single place.
    
    ---
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    90bcaea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8aa3f6 View commit details
    Browse the repository at this point in the history
  3. chore(blooms): Make blocks cache preloading less verbose (#12107)

    The warnings suggest something going wrong where it's not the case.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    4cae003 View commit details
    Browse the repository at this point in the history