This project is mirrored from https://github.com/prometheus/prometheus.git. Updated .
  1. 17 Feb, 2020 1 commit
    • Unify Iterator interfaces. All point to storage now. · 34426766
      This is part of https://github.com/prometheus/prometheus/pull/5882 that can be done to simplify things.
      All todos I added will be fixed in follow up PRs.
      
      * querier.Querier, querier.Appender, querier.SeriesSet, and querier.Series interfaces merged
      with storage interface.go. All imports that.
      * querier.SeriesIterator replaced by chunkenc.Iterator
      * Added chunkenc.Iterator.Seek method and tests for xor implementation (?)
      * Since we properly handle SelectParams for Select methods I adjusted min max
      based on that. This should help in terms of performance for queries with functions like offset.
      * added Seek to deletedIterator and test.
      * storage/tsdb was removed as it was only a unnecessary glue with incompatible structs.
      
      No logic was changed, only different source of abstractions, so no need for benchmarks.
      Signed-off-by: 's avatarBartlomiej Plotka <bwplotka@gmail.com>
      Bartlomiej Plotka authored
  2. 29 Jan, 2020 1 commit
  3. 05 Dec, 2019 1 commit
    • Make the scrape.metricMetadataStore interface public · 05842176
      To test the implementation of our metric metadata API, we need to represent various states of metadata in the scrape metadata store. That is currently not possible as the interface and method to set the store are private.
      
      This changes the interface, list and get methods, and the SetMetadaStore function to be public.
      
      Incidentally, the scrapeCache implementation needs to be renamed to match the new signature.
      Signed-off-by: 's avatargotjosh <josue@grafana.com>
      gotjosh authored
  4. 11 Nov, 2019 1 commit
  5. 02 Aug, 2019 1 commit
  6. 03 May, 2019 1 commit
  7. 25 Mar, 2019 1 commit
  8. 12 Mar, 2019 1 commit
    • scrape: Add global jitter for HA server (#5181) · 0d1a6935
      * scrape: Add global jitter for HA server
      
      Covers issue in https://github.com/prometheus/prometheus/pull/4926#issuecomment-449039848
      where the HA setup become a problem for targets unable to be scraped simultaneously.
      The new jitter per server relies on the hostname and external labels which necessarily to be uniq.
      
      As before, scrape offset will be calculated with regard the absolute time, so even
      restart/reload doesn't change scrape time per scrape target + prometheus instance.
      
      Use fqdn if possible, otherwise fall back to the hostname. It adds extra random seed
      to calculate server hash to be distinguish on machines with the same hostname, but
      different DC.
      Signed-off-by: 's avatarAleksei Semiglazov <xjewer@gmail.com>
      xjewer authored
  9. 05 Dec, 2018 1 commit
  10. 18 Oct, 2018 1 commit
  11. 12 Oct, 2018 1 commit
  12. 06 Jun, 2018 1 commit
  13. 09 Apr, 2018 1 commit
  14. 21 Mar, 2018 1 commit
  15. 07 Feb, 2018 1 commit
  16. 01 Feb, 2018 1 commit
  17. 29 Dec, 2017 1 commit
    • Refactor SD configuration to remove `config` dependency (#3629) · ec94df49
      * refactor: move targetGroup struct and CheckOverflow() to their own package
      
      * refactor: move auth and security related structs to a utility package, fix import error in utility package
      
      * refactor: Azure SD, remove SD struct from config
      
      * refactor: DNS SD, remove SD struct from config into dns package
      
      * refactor: ec2 SD, move SD struct from config into the ec2 package
      
      * refactor: file SD, move SD struct from config to file discovery package
      
      * refactor: gce, move SD struct from config to gce discovery package
      
      * refactor: move HTTPClientConfig and URL into util/config, fix import error in httputil
      
      * refactor: consul, move SD struct from config into consul discovery package
      
      * refactor: marathon, move SD struct from config into marathon discovery package
      
      * refactor: triton, move SD struct from config to triton discovery package, fix test
      
      * refactor: zookeeper, move SD structs from config to zookeeper discovery package
      
      * refactor: openstack, remove SD struct from config, move into openstack discovery package
      
      * refactor: kubernetes, move SD struct from config into kubernetes discovery package
      
      * refactor: notifier, use targetgroup package instead of config
      
      * refactor: tests for file, marathon, triton SD - use targetgroup package instead of config.TargetGroup
      
      * refactor: retrieval, use targetgroup package instead of config.TargetGroup
      
      * refactor: storage, use config util package
      
      * refactor: discovery manager, use targetgroup package instead of config.TargetGroup
      
      * refactor: use HTTPClient and TLS config from configUtil instead of config
      
      * refactor: tests, use targetgroup package instead of config.TargetGroup
      
      * refactor: fix tagetgroup.Group pointers that were removed by mistake
      
      * refactor: openstack, kubernetes: drop prefixes
      
      * refactor: remove import aliases forced due to vscode bug
      
      * refactor: move main SD struct out of config into discovery/config
      
      * refactor: rename configUtil to config_util
      
      * refactor: rename yamlUtil to yaml_config
      
      * refactor: kubernetes, remove prefixes
      
      * refactor: move the TargetGroup package to discovery/
      
      * refactor: fix order of imports
      Shubheksha Jalan authored
  18. 13 Dec, 2017 1 commit
  19. 20 Oct, 2017 1 commit
  20. 14 Sep, 2017 1 commit
  21. 07 Sep, 2017 1 commit
  22. 12 Jul, 2017 1 commit
  23. 04 Jul, 2017 1 commit
  24. 09 Jun, 2017 1 commit
  25. 31 May, 2017 1 commit
    • Rework sample limit to work for 2.0 · 37bc607e
      Correctly update reported series.
      Increment prometheus_target_scrapes_exceeded_sample_limit_total.
      Add back unittests.
      Ignore stale markers when calculating sample limit.
      
      Fixes #2770
      Brian Brazil authored
  26. 26 May, 2017 1 commit
  27. 22 May, 2017 1 commit
  28. 20 Mar, 2017 1 commit
  29. 22 Feb, 2017 1 commit
  30. 02 Feb, 2017 1 commit
  31. 01 Feb, 2017 1 commit
  32. 20 Jan, 2017 1 commit
  33. 13 Jan, 2017 1 commit
  34. 07 Jan, 2017 1 commit
  35. 29 Dec, 2016 1 commit
  36. 21 Dec, 2016 1 commit
  37. 13 Dec, 2016 2 commits
  38. 05 Dec, 2016 1 commit
  39. 23 Nov, 2016 1 commit