Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(prometheus): support collect metrics works in the priviledged agent #8434

Merged
merged 20 commits into from
Dec 6, 2022

Conversation

tzssangglass
Copy link
Member

Description

Fixes # (issue)

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@tzssangglass tzssangglass marked this pull request as ready for review December 1, 2022 12:21
membphis
membphis previously approved these changes Dec 2, 2022
membphis
membphis previously approved these changes Dec 4, 2022
example/apisix/plugins/prometheus/exporter.lua Outdated Show resolved Hide resolved

init_by_lua_block {
require "resty.core"
apisix = require("apisix")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I double-checked this line and it seems the apisix is not used?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove it, and this helped me to solve the problem of repeatedly requiring apisix, thanks.

@spacewander spacewander merged commit edb8edf into apache:master Dec 6, 2022
@jagerzhang
Copy link
Contributor

Can you fix this problem in version 2.15? The main reason is that we have been using the official Docker image deployment. It seems that we cannot directly repair it by copying files, but we need to compile the underlying modules.

@nanamikon
Copy link
Contributor

Can you fix this problem in version 2.15? The main reason is that we have been using the official Docker image deployment. It seems that we cannot directly repair it by copying files, but we need to compile the underlying modules.

+1

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.

7 participants