sync with head repository#5
Open
kianaza wants to merge 216 commits into
Open
Conversation
* Remove deprecated dependency github.com/prometheus/common/log and replace with github.com/go-kit/log * Update dependencies to the latest version
* Replace the landing page with the default landing page generated by the prometheus exporter toolkit
* Update the server handling to use the prometheus exporter toolkit This enables also the experimental tls support.
* Update the readme to include the current help output
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...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 [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
server_status flavor_id label is always returining <nil> value:
Starting from micro-version 2.47, `flavor.id` is no longer available in detailed server data.
The data now only contains `flavor.name`.
This fix involves retrieving all flavors and subsequently searching for flavor.id based on its name.
neutron_network and neutron_subnet metrics was added.
* Added the 'floating_ips' label to the neutron-port metric * If a port has more than one fixed_ip, they are now joined into a comma-separated string
The openstack community moved over to OFTC about 3 years ago and the channel on Freenode is currently empty. On OFTC we are at least a few users that can answer questions.
allows to disable the next high-cardinality metrics: keystone-identity_project_info neutron-subnet neutron-router neutron-port neutron-network neutron-l3_agent_of_router nova-server_status without crashing on invalid memory address or nil pointer dereference
this allows to monitor if specific public images in the cloud are updated in time image rotating process usually involves creating of a new image from file, so we check for created_at property rather than updated_at add status field
Make the snap as a snap service instead of an command line tool of `golang-openstack-exporter`. The configuration options of the tool itself are exposed to the snap configuration, users can configure the service with `snap get/set/unset`.
- add README docs for the snap - tidy and finish implementation of the service script and configure hook - re-add the openstack-exporter command, so there is the original cli command as well as the new service
This may be more user friendly than nonempty/empty strings to represent boolean values.
Update quota logic
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](actions/checkout@v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Fixing cannot unmarshal into big.int large network_ip_availabilities_total metric
…ions/actions/checkout-6 chore(deps): bump actions/checkout from 4 to 6
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.66.1 to 1.69.0. - [Release notes](https://github.com/reviewdog/action-actionlint/releases) - [Commits](reviewdog/action-actionlint@e37e2ca...437bbe9) --- updated-dependencies: - dependency-name: reviewdog/action-actionlint dependency-version: 1.69.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…ions/reviewdog/action-actionlint-1.69.0 chore(deps): bump reviewdog/action-actionlint from 1.66.1 to 1.69.0
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ions/actions/cache-5 chore(deps): bump actions/cache from 4 to 5
Bumps [reviewdog/action-hadolint](https://github.com/reviewdog/action-hadolint) from 1.50.2 to 1.50.5. - [Release notes](https://github.com/reviewdog/action-hadolint/releases) - [Commits](reviewdog/action-hadolint@fc7ee4a...921946a) --- updated-dependencies: - dependency-name: reviewdog/action-hadolint dependency-version: 1.50.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ions/reviewdog/action-hadolint-1.50.5 chore(deps): bump reviewdog/action-hadolint from 1.50.2 to 1.50.5
… 2.10.0 - mock apis - fix unit tests
chore(deps): bump github.com/gophercloud/gophercloud/v2 from 2.7.0 to 2.10.0
* Add feature to get password from Vault To use the feature put the following options in config root: use_vault: true vault_address: http://<IP_ADDRESS:<IP_PORT> vault_role_id: <ROLE_ID> vault_secret_id: <SECRET_ID> vault_secret_path: <deployments/dev/user/passwords_yml> vault_secret_mount_path: <secret_v2> credential_name_in_vault_secret: <keystone_admin_password> #412 * Using new logger --------- Co-authored-by: Sharpz7 <adam.mcarthur62@gmail.com> Co-authored-by: Adam McArthur <46480158+Sharpz7@users.noreply.github.com>
* Dependabot Grouped Changes Added changes from #460 Updated dependencies Potential CI fixes Move to go1.23 Changing to also build the docker image in ci * Additions * Added other changes
Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.1 to 0.7.7. - [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-retryablehttp@v0.7.1...v0.7.7) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-retryablehttp dependency-version: 0.7.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Added integration tests CI Fixes Fixing more lint errors Tried to make tests more specific Fixed issues Fixes Fixes More fixes Trying more Test Fix Testing Testing Changes Removing placement Trying things out More changes Testing Trying things Fixes Fixes chore(deps): bump actions/checkout from 4 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](actions/checkout@v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Update integration/funcs/compute.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Update script/stackenv Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> chore(deps): bump reviewdog/action-actionlint from 1.66.1 to 1.69.0 Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.66.1 to 1.69.0. - [Release notes](https://github.com/reviewdog/action-actionlint/releases) - [Commits](reviewdog/action-actionlint@e37e2ca...437bbe9) --- updated-dependencies: - dependency-name: reviewdog/action-actionlint dependency-version: 1.69.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Suggested changes from voom * Removing unused * Added back requirelong --------- Signed-off-by: dependabot[bot] <support@github.com>
* Ironic Fixes in CI * Bugfix * Trying things out * Changed mirror list * Trying some simplifications * Added note
… specified (#424) * feat: implement single tenantID for nova/cinder/keystone list options * fix: main.go enabled services log * chore: refactor listoptions * fix: fallback identity api through servicename * FIxes * Quick stattic fix --------- Co-authored-by: Sharpz7 <adam.mcarthur62@gmail.com> Co-authored-by: Adam McArthur <46480158+Sharpz7@users.noreply.github.com>
…dates (#539) Bumps the actions-deps group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [reviewdog/action-shellcheck](https://github.com/reviewdog/action-shellcheck) | `1.30.0` | `1.32.0` | | [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) | `1.70.0` | `1.71.0` | | [reviewdog/action-golangci-lint](https://github.com/reviewdog/action-golangci-lint) | `2.8.0` | `2.10.0` | | [docker/login-action](https://github.com/docker/login-action) | `3` | `4` | | [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `3` | `4` | | [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `3` | `4` | | [docker/metadata-action](https://github.com/docker/metadata-action) | `5` | `6` | | [docker/build-push-action](https://github.com/docker/build-push-action) | `6` | `7` | Updates `reviewdog/action-shellcheck` from 1.30.0 to 1.32.0 - [Release notes](https://github.com/reviewdog/action-shellcheck/releases) - [Commits](reviewdog/action-shellcheck@5ebd09d...4c07458) Updates `reviewdog/action-actionlint` from 1.70.0 to 1.71.0 - [Release notes](https://github.com/reviewdog/action-actionlint/releases) - [Commits](reviewdog/action-actionlint@e58ee9d...0d952c5) Updates `reviewdog/action-golangci-lint` from 2.8.0 to 2.10.0 - [Release notes](https://github.com/reviewdog/action-golangci-lint/releases) - [Commits](reviewdog/action-golangci-lint@f9bba13...c76ccea) Updates `docker/login-action` from 3 to 4 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v3...v4) Updates `docker/setup-qemu-action` from 3 to 4 - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](docker/setup-qemu-action@v3...v4) Updates `docker/setup-buildx-action` from 3 to 4 - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](docker/setup-buildx-action@v3...v4) Updates `docker/metadata-action` from 5 to 6 - [Release notes](https://github.com/docker/metadata-action/releases) - [Commits](docker/metadata-action@v5...v6) Updates `docker/build-push-action` from 6 to 7 - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v6...v7) --- updated-dependencies: - dependency-name: reviewdog/action-shellcheck dependency-version: 1.32.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps - dependency-name: reviewdog/action-actionlint dependency-version: 1.71.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps - dependency-name: reviewdog/action-golangci-lint dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps - dependency-name: docker/login-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: docker/setup-qemu-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: docker/setup-buildx-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: docker/metadata-action dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: docker/build-push-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam McArthur <46480158+Sharpz7@users.noreply.github.com>
* Initialize exporters at startup to improve scrape performance Currently, all service exporters are initialized on every /metrics or /probe scrape via the EnableExporter method, resulting in repeated OpenStack client creation and metric registration overhead. This change moves the exporter initialization to the startup phase, where exporters are created once and their metrics are registered to a shared prometheus.Registry. Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com> * fix: address review comments Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com> * fix: handle http server errors via error channel Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com> --------- Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com> Co-authored-by: Adam McArthur <46480158+Sharpz7@users.noreply.github.com> Co-authored-by: Sharpz7 <adam.mcarthur62@gmail.com>
Co-authored-by: Adam McArthur <46480158+Sharpz7@users.noreply.github.com>
Bumps the actions-deps group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint), [actions/setup-go](https://github.com/actions/setup-go) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `actions/checkout` from 4 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](actions/checkout@v4...v6) Updates `reviewdog/action-actionlint` from 1.71.0 to 1.72.0 - [Release notes](https://github.com/reviewdog/action-actionlint/releases) - [Commits](reviewdog/action-actionlint@0d952c5...6fb7acc) Updates `actions/setup-go` from 5 to 6 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@v5...v6) Updates `actions/upload-artifact` from 4 to 7 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v4...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: reviewdog/action-actionlint dependency-version: 1.72.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps - dependency-name: actions/setup-go dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam McArthur <46480158+Sharpz7@users.noreply.github.com>
* use errgroup for recordset metrics * fix typo * formatting by gofmt Signed-off-by: cw0306-lee <cw0306.lee@samsung.com> * redefine for loop var * remove unused context * fix integration test * add default value * formatting main.go --------- Signed-off-by: cw0306-lee <cw0306.lee@samsung.com> Co-authored-by: Adam McArthur <46480158+Sharpz7@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.