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

Expose debug API #5

Open
3 tasks done
EugeneOne1 opened this issue Jul 23, 2024 · 0 comments
Open
3 tasks done

Expose debug API #5

EugeneOne1 opened this issue Jul 23, 2024 · 0 comments
Assignees
Labels
feature-request Feature or enhancement request
Milestone

Comments

@EugeneOne1
Copy link
Member

Prerequisites

  • I have checked the Knowledge Base and the Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

The standard library of Go provides the set of tools for profiling the programs, and even some convenient HTTP wrappers for using those. AdGuardDNSClient already has a debug-specific configuration section called debug which is intended to configure serving of the profiling endpoints.

Proposed solution

Run an HTTP server according to the configuration, expose profiling endpoints.

Alternatives considered and additional information

No response

@EugeneOne1 EugeneOne1 added the feature-request Feature or enhancement request label Jul 23, 2024
@EugeneOne1 EugeneOne1 added this to the v0.1.0 milestone Jul 23, 2024
@EugeneOne1 EugeneOne1 self-assigned this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Feature or enhancement request
Projects
None yet
Development

No branches or pull requests

1 participant