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

Recut k107 with dedup fix #6710

Merged
merged 9 commits into from
Jul 18, 2022
Merged

Recut k107 with dedup fix #6710

merged 9 commits into from
Jul 18, 2022

Commits on Jul 18, 2022

  1. Update production-ready Loki in docker-compose (grafana#6691)

    * Improved docker-compose setup:
    
    - S3-like storage
    - Interactive debugging by optionally exposing dlv ports
    - Improve performance
    - Use SSD mode (read/write)
    - GroupCache
    - Latest versions of loki, promtail, grafana
    - Scaling
    
    * Adding diagram & updated README
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    
    * Upgrade guide
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    
    * Adding steps to build debug image
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    
    * Add prometheus
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    
    * Add datasources and disable Grafana auth
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored Jul 18, 2022
    1 Configuration menu
    Copy the full SHA
    305936a View commit details
    Browse the repository at this point in the history
  2. Add configurable groupcache capacity (grafana#6678)

    * Add configurable groupcache capacity
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    
    * Improving the verbiage for clarity - thanks Travis!
    
    Changed the default size to 100MB
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    
    * Adding config docs
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    
    * Removed test - it was pretty redundant, plus groupcache panics if you try init its http server more than once
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored Jul 18, 2022
    Configuration menu
    Copy the full SHA
    7446f24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b39e490 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ccf43a View commit details
    Browse the repository at this point in the history
  5. Add function to reset boltDBIndexClientWithShipper singleton

    In a downstream project I have a test case that creates multiple stores
    with different BoltDB shipper schema configurations. Since the client
    for the store is a singleton and is re-used, there needs to be a
    function to reset it as well.
    
    This function must only be used in tests.
    
    Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
    chaudum committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    934d56f View commit details
    Browse the repository at this point in the history
  6. promtail: Inject tenant ID when receiving X-Scope-OrgID in heroku tar…

    …get (grafana#6695)
    
    * inject tenant ID header
    
    * fix import order
    thepalbi authored Jul 18, 2022
    Configuration menu
    Copy the full SHA
    d4cdc37 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    79dc9eb View commit details
    Browse the repository at this point in the history
  8. Loki: Return an __error_details__ label for any line which incurs a _…

    …_error__ while being processed (grafana#6543)
    
    * adds an __error_details__ label which includes any details available about a logql error.
    
    Signed-off-by: Edward Welch <edward.welch@grafana.com>
    
    * fix lint, changed a test a little
    
    Signed-off-by: Edward Welch <edward.welch@grafana.com>
    
    * reset error details in Reset() function
    
    Signed-off-by: Edward Welch <edward.welch@grafana.com>
    slim-bean authored Jul 18, 2022
    Configuration menu
    Copy the full SHA
    1a75bb8 View commit details
    Browse the repository at this point in the history
  9. Loki: Do not store exact log line duplicates (now including unordered…

    … inserts) (grafana#6642)
    
    * do not insert log lines which are an exact duplicate in both timestamp and log content
    
    Signed-off-by: Edward Welch <edward.welch@grafana.com>
    
    * update test to now ignore dupes pushed out of order
    
    Signed-off-by: Edward Welch <edward.welch@grafana.com>
    
    * make the test unordered to be more thorough
    
    Signed-off-by: Edward Welch <edward.welch@grafana.com>
    slim-bean authored Jul 18, 2022
    Configuration menu
    Copy the full SHA
    d7345c1 View commit details
    Browse the repository at this point in the history