• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sapcc / go-bits
36%
master: 31%

Build:
Build:
LAST BUILD BRANCH: fix-gomm
DEFAULT BRANCH: master
Repo Added 20 Jun 2022 11:47AM UTC
Token eInadSGlX4HXZn0GV362JdRNjGYfqjUqE regen
Build 687 Last
Files 56
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH promquery-bulkcache
branch: promquery-bulkcache
CHANGE BRANCH
x
Reset
Sync Branches
  • promquery-bulkcache
  • SuperSandro2000-patch-1
  • add_is_project_admin_token_field
  • assert-deepequal-match-input-types
  • audittools-fix-gopherpolicy-integration
  • audittools-fix-panic
  • audittools-simple-mode
  • audittools-simplification
  • audittools_rabbitmq_persistence
  • autoupdateable-deps
  • bugfix-liquid-client
  • bump-all-deps
  • bump-jose
  • bump-majewsky-gg
  • cache_size
  • configset-use-option
  • context-background
  • dependabot/go_modules/github.com/go-jose/go-jose/v3-3.0.3
  • dependabot/go_modules/github.com/hashicorp/go-retryablehttp-0.7.7
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • distributefairly-catch-errors
  • easypg-better-test-mode
  • easypg-fix-duplicate-keys-in-snapshot
  • easypg-fix-quoting
  • easypg-force-locale-on-testdb
  • easypg-multiple-test-databases
  • easypg-simplify-snapshots
  • externalSecret
  • fix-gomm
  • fix_db_connection
  • ginkgo-readiness
  • ginkgo-readiness-audittools
  • golangci-lint
  • gophercloud2
  • gophercloudext
  • gophercloudext-customize-authoptions
  • gophercloudext-fix-missing-domain
  • gopherpolicy-compact-serialization
  • gopherpolicy-remove-strict-yaml-dep
  • http-utils
  • httpext-limit-concurrent-requests
  • httptest
  • job-process-many
  • jobloop-ctx-everywhere
  • jobloop-improve-error-handling
  • jobloop-jitter
  • jobloop-panic
  • lints
  • liquid-client
  • liquid-ignore-duplicate-service-info
  • liquidapi
  • liquidapi-commitment-delegation
  • liquidapi-enable-profiling
  • liquidapi-fix-distribute-fairly-overflow
  • liquidapi-healthcheck
  • liquidapi-use-gophercloudext
  • liquidapi-utils
  • master
  • new-package-httpapi
  • os-utils
  • pluggable
  • pprofapi
  • promquery
  • promquery-allow-zero-results-if-configured
  • promquery-support-json-config
  • promquery-threadsafe-bulkquerycache
  • regexpext
  • regexpext-identifierconfigset
  • regexpext-optimize-literals
  • remove-gorilla-mux
  • renovate/all
  • renovate/external-dependencies
  • renovate/github.com-lib-pq-1.x
  • renovate/github.com-prometheus-client_golang-1.x
  • renovate/github.com-rabbitmq-amqp091-go-1.x
  • renovate/github.comsapcc
  • renovate/go-1.x
  • renovate/gopkg.in-yaml.v2-3.x
  • renovate/major-external-dependencies
  • respond-with-obsfuscated-error
  • respondwith-clienterror
  • respondwith-optimize-allocations
  • revert-111-audittools_rabbitmq_persistence
  • secrets-json
  • sql-utils
  • token-helper
  • vault-remove-stat
  • yaml

20 Dec 2023 02:39PM UTC coverage: 35.773% (-3.3%) from 39.036%
7276901474

Pull #100

github

majewsky
promquery: add BulkQueryCache

This implementation originates in Limes (imported from there at
`internal/util/promcache.go`), but I want to reuse it in Castellum where
the idea of bulk requesting and caching Prometheus metrics originates.

This implementation differs slightly from the one in Limes:

- The `Prometheus` prefix was removed from the type names.
- The `refreshRate` field was renamed to `refreshInterval`.
- The constructor method takes a Client instance instead of its Config.
- A full-featured documentation example was added to better demonstrate
  how all the pieces fit together.
Pull Request #100: promquery: add BulkQueryCache

0 of 41 new or added lines in 1 file covered. (0.0%)

650 of 1817 relevant lines covered (35.77%)

2.91 hits per line

Relevant lines Covered
Build:
Build:
1817 RELEVANT LINES 650 COVERED LINES
2.91 HITS PER LINE
Source Files on promquery-bulkcache
  • Tree
  • List 39
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
7276901474 promquery-bulkcache promquery: add BulkQueryCache This implementation originates in Limes (imported from there at `internal/util/promcache.go`), but I want to reuse it in Castellum where the idea of bulk requesting and caching Prometheus metrics originates. This im... Pull #100 20 Dec 2023 02:42PM UTC majewsky github
35.77
See All Builds (686)

Badge your Repo: go-bits

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc