Skip to content

v1.20.0

Compare
Choose a tag to compare
@bwplotka bwplotka released this 14 Aug 14:16
· 22 commits to release-1.20 since this release
73b811c

Thanks everyone for contributions!

⚠️ In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default collectors.NewGoCollector() collector. Given its popular usage, expect your binary to expose two additional metric.

Changes

  • [CHANGE] ⚠️ go-collector: Remove go_memstat_lookups_total metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577
  • [FEATURE] ⚠️ go-collector: Add 3 default metrics: go_gc_gogc_percent, go_gc_gomemlimit_bytes and go_sched_gomaxprocs_threads as those are recommended by the Go team. #1559
  • [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact runtime/metrics sourcing each metric (if relevant). #1568 #1578
  • [FEATURE] testutil: Add CollectAndFormat method. #1503
  • [FEATURE] histograms: Add support for exemplars in native histograms. #1471
  • [FEATURE] promhttp: Add experimental support for zstd on scrape, controlled by the request Accept-Encoding header. #1496
  • [FEATURE] api/v1: Add WithLimit parameter to all API methods that supports it. #1544
  • [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #1537
  • [FEATURE] process-collectors: Add network usage metrics: process_network_receive_bytes_total and process_network_transmit_bytes_total. #1555
  • [FEATURE] promlint: Add duplicated metric lint rule. #1472
  • [BUGFIX] promlint: Relax metric type in name linter rule. #1455
  • [BUGFIX] promhttp: Make sure server
    instrumentation wrapping supports new and future extra responseWriter methods. #1480
  • [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #1424
All commits
  • feat(prometheus/testutil/promlint/validations): refine lintMetricType… by @foehammer127 in #1455
  • Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by @dependabot in #1457
  • Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by @dependabot in #1458
  • Bump golang.org/x/sys from 0.16.0 to 0.17.0 by @dependabot in #1459
  • Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by @dependabot in #1461
  • Merge Release 1.19 back to main by @ArthurSens in #1462
  • Bump the github-actions group with 2 updates by @dependabot in #1456
  • Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in #1466
  • Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by @dependabot in #1467
  • Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by @dependabot in #1469
  • Add LintDuplicateMetric to promlint by @bboreham in #1472
  • Auto-update Go Collector Metrics for new Go versions by @SachinSahu431 in #1476
  • Implement Unwrap() for responseWriterDelegator by @igor-drozdov in #1480
  • Bump golang.org/x/sys from 0.17.0 to 0.18.0 by @dependabot in #1485
  • Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by @dependabot in #1486
  • ci: Remove hardcoded supported Go versions from go.yml by @SachinSahu431 in #1489
  • feat: metrics generation workflow by @SachinSahu431 in #1481
  • fix: remove redundant go module in middleware example by @majolo in #1492
  • chore: Refactor how base metrics are added to Sched metrics by @ArthurSens in #1483
  • gocollector: Add regex option to allow collection of debug runtime metrics by @ArthurSens in #1389
  • Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by @dependabot in #1498
  • chore: fix function name in comment by @oftenoccur in #1497
  • build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by @dependabot in #1501
  • build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in #1502
  • feat(dependency): replace go-spew package by @dongjiang1989 in #1499
  • build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by @dependabot in #1504
  • build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by @dependabot in #1505
  • build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by @dependabot in #1506
  • build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by @dependabot in #1507
  • build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by @dependabot in #1508
  • build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by @dependabot in #1509
  • improved code more clean by @lilijreey in #1511
  • build(deps): bump the github-actions group with 3 updates by @dependabot in #1510
  • [CI]: Add Concurrency Grouping to GitHub Workflows by @Ishani217 in #1444
  • Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by @jcass8695 in #1503
  • testutil compareMetricFamilies: make less error-prone by @leonnicolas in #1424
  • improved code more clean use time.IsZero() replace t = time.Time{} by @lilijreey in #1515
  • add native histogram exemplar support by @fatsheep9146 in #1471
  • Synchronize common files from prometheus/prometheus by @prombot in #1514
  • build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by @dependabot in #1523
  • build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by @dependabot in #1522
  • Synchronize common files from prometheus/prometheus by @prombot in #1524
  • Add PR template for changelog automation by @SachinSahu431 in #1517
  • Auto label PRs by @SachinSahu431 in #1518
  • Fix: Auto label PRs #1518 by @SachinSahu431 in #1525
  • build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by @dependabot in #1527
  • ci: Group all changelog-related CI jobs into single one by @ArthurSens in #1526
  • Synchronize common files from prometheus/prometheus by @prombot in #1530
  • Remove synchronize trigger from changelog workflow by @SachinSahu431 in #1532
  • feat: Support zstd compression by @mrueg in #1496
  • Fix golangci-lint config by @SuperQ in #1536
  • build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by @dependabot in #1529
  • Synchronize common files from prometheus/prometheus by @prombot in #1531
  • Cleanup NOTICE file by @SuperQ in #1541
  • Remove inlined upstream code by @SuperQ in #1539
  • Synchronize common files from prometheus/prometheus by @prombot in #1545
  • client: Add Option to provide limit query param for APIs that support it by @abbyssoul in #1544
  • Allow creating constant histogram and summary metrics with a created timestamp by @swar8080 in #1537
  • Update README.md by @bwplotka in #1556
  • Temporarily remove required CI job for changelog. by @bwplotka in #1560
  • build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by @dependabot in #1549
  • build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by @dependabot in #1552
  • build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by @dependabot in #1553
  • fix: Update Go tests by @SuperQ in #1562
  • process_collector: collect received/transmitted bytes by @huwcbjones in #1555
  • Synchronize common files from prometheus/prometheus by @prombot in #1561
  • chore: Remove half-implemented changelog automation by @ArthurSens in #1564
  • build(deps): bump the github-actions group across 1 directory with 3 updates by @dependabot in #1565
  • Synchronize common files from prometheus/prometheus by @prombot in #1563
  • build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by @dependabot in #1551
  • deps: Updated to prometheus/common to 0.55 by @bwplotka in #1566
  • Synchronize common files from prometheus/prometheus by @prombot in #1567
  • tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by @bwplotka in #1569
  • go collector: add default metrics acceptance tests; adding more context to HELP by @bwplotka in #1568
  • build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by @dependabot in #1570
  • build(deps): bump the github-actions group with 3 updates by @dependabot in #1571
  • Synchronize common files from prometheus/prometheus by @prombot in #1572
  • ci: daggerize test and lint pipelines by @marcosnils in #1534
  • Synchronize common files from prometheus/prometheus by @prombot in #1573
  • Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by @vesari in #1559
  • Synchronize common files from prometheus/prometheus by @prombot in #1576
  • Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by @bwplotka in #1577
  • gocollector: Attach original runtime/metrics metric name to help. by @bwplotka in #1578

New Contributors

Full Changelog: v1.19.1...v1.20.0