Skip to content

Merge upstream commits#3

Merged
alowde merged 126 commits into
masterfrom
merge-upstream
Nov 13, 2025
Merged

Merge upstream commits#3
alowde merged 126 commits into
masterfrom
merge-upstream

Conversation

@alowde

@alowde alowde commented Nov 13, 2025

Copy link
Copy Markdown

Merge commits from upstream to allow us to track further improvements and contribute upstream.

xbglowx and others added 30 commits August 14, 2023 14:45
* Bump GO to 1.22

* Extending firewall metrics with rule names

* Adding account specific rule to firewall metrics

* Add Cloudflare Logpush metrics for account and zone

* Selector is included in labels

Bump chart version

* Add Account Label to Metrics

This commit adds the Account label to the metrics label list. The Account label
provides additional context to the metrics, allowing for better categorization
and analysis of data. This change enhances the accuracy and granularity of the
metrics collected.

- Added Account label to metrics
- Improved data categorization and analysis

Signed-off-by: Denys Lemeshko <lde@linuxhelp.com.ua>

Fix missing label

* Add account to labels on logpush events, bump golangci

fix golang-ci lint action

some golangci-lint fixes

* Use cobra and viper as maintained alternatives to namsral/flag library. Add basic tests just make sure you provide .env file with right variables.

---------

Co-authored-by: Oleksii Serhiienko <oleksii.serhiienko@getyourguide.com>
Co-authored-by: Bhushan Thakur <bhthakur@redhat.com>
Co-authored-by: Mark Pierce <mark.pierce@debijenkorf.nl>
Co-authored-by: Denys Lemeshko <lde@linuxhelp.com.ua>
Bumps alpine from 3.18 to 3.19.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v1...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v2...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v1...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v2...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…/docker/build-push-action-5

Bump docker/build-push-action from 2 to 5
…/actions/checkout-4

Bump actions/checkout from 2 to 4
…/docker/login-action-3

Bump docker/login-action from 1 to 3
…/actions/setup-python-5

Bump actions/setup-python from 2 to 5
…/docker/setup-buildx-action-3

Bump docker/setup-buildx-action from 1 to 3
Bumps alpine from 3.19 to 3.20.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](docker/setup-qemu-action@v1...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.2.0 to 1.10.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](helm/kind-action@v1.2.0...v1.10.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 1 to 4.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md)
- [Commits](Azure/setup-helm@v1...v4)

---
updated-dependencies:
- dependency-name: azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](docker/metadata-action@v3...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Add pprof to ease profiling.
We currently have `datetime` and `status` as dimensions for the
CloudFlare Worker invocation metrics GraphQL query.

This causes CloudFlare workers to output a number of datapoints for
each unique tuple of dimensions, across several `datetime`s.

For worker requests and errors this is fine as we `.Add(...)` to those
counters, but for quantiles this causes us to only export the last
datapoints quantiles, which may be an outlier.

---

Removing the `datetime` for the query provides pre-aggregated
datapoints for us to process.

Further to this, `datetime` is not currently being captured in the
response data structure.
This change adds `status` to the CloudFlare worker metrics being
exported.

This fixes an issue where, similar to `datetime` previously, we are
getting multiple metric series from the combinations of unique
dimensions.

This resulted in only the last datapoint series being exported from
the `cloudflare-exporter` for the CloudFlare workers.

Additionally this provides more information as the `status` can be
used to differentiate the internal errors seen in CloudFlare workers.
fatihusta and others added 24 commits October 9, 2025 12:50
Signed-off-by: Fatih USTA <fatihusta86@gmail.com>
Signed-off-by: Fatih USTA <fatihusta86@gmail.com>
Signed-off-by: Fatih USTA <fatihusta86@gmail.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…/actions/setup-go-6

Bump actions/setup-go from 5 to 6
Change to KO and attest container images
fix: Remove fatal errors outside main.go to improve flexibility
Signed-off-by: Fatih USTA <fatihusta86@gmail.com>
Signed-off-by: Fatih USTA <fatihusta86@gmail.com>
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2 to 3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](actions/attest-build-provenance@v2...v3)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fatih USTA <fatihusta86@gmail.com>
Signed-off-by: Fatih USTA <fatihusta86@gmail.com>
Refactored with cloudflare v4 library and also added some features and some code cleanup
…/actions/attest-build-provenance-3

Bump actions/attest-build-provenance from 2 to 3
# Conflicts:
#	cloudflare.go
#	main.go
#	prometheus.go
Comment thread prometheus.go
Comment thread prometheus.go Outdated
@alowde
alowde merged commit c88169a into master Nov 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.