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

Add collectors for ASP.NET Server and Applications and MS data client for Sql #1315

Closed
wants to merge 0 commits into from

Conversation

jaco-van-zyl-derivco
Copy link
Contributor

@jaco-van-zyl-derivco jaco-van-zyl-derivco commented Oct 24, 2023

Adding collectors for ASP.NET and Microsoft Data Client metrics

asp_net_system

# HELP windows_asp_net_system_application_restarts The number of times that an application has been restarted during the Web server's lifetime.
# TYPE windows_asp_net_system_application_restarts counter
windows_asp_net_system_application_restarts 0
# HELP windows_asp_net_system_applications_running The number of applications running concurrently on the server computer.
# TYPE windows_asp_net_system_applications_running gauge
windows_asp_net_system_applications_running 0
# HELP windows_asp_net_system_request_wait_time The number of milliseconds that the most recent request waited in the queue for processing.
# TYPE windows_asp_net_system_request_wait_time gauge
windows_asp_net_system_request_wait_time 0
# HELP windows_asp_net_system_requests_disconnected The number of requests that have been disconnected due to a communication failure.
# TYPE windows_asp_net_system_requests_disconnected counter
windows_asp_net_system_requests_disconnected 0
# HELP windows_asp_net_system_requests_queued The number of requests waiting for service from the queue. When this number starts to increment linearly with increased client load, the Web server computer has reached the limit of concurrent requests that it can process.
# TYPE windows_asp_net_system_requests_queued gauge
windows_asp_net_system_requests_queued 0
# HELP windows_asp_net_system_requests_rejected The total number of requests not executed because of insufficient server resources to process them.
# TYPE windows_asp_net_system_requests_rejected gauge
windows_asp_net_system_requests_rejected 0
# HELP windows_asp_net_system_worker_process_restarts The number of times a worker process has been restarted on the server computer.
# TYPE windows_asp_net_system_worker_process_restarts counter
windows_asp_net_system_worker_process_restarts 0
# HELP windows_asp_net_system_worker_processes_running The number of worker processes running on the server computer.
# TYPE windows_asp_net_system_worker_processes_running gauge
windows_asp_net_system_worker_processes_running 0

asp_net_application

# HELP windows_asp_net_application_errors_during_execution The total number of errors that occur during the execution of an HTTP request, excluding parser and compilation errors.
# TYPE windows_asp_net_application_errors_during_execution gauge
windows_asp_net_application_errors_during_execution 0
# HELP windows_asp_net_application_errors_per_sec The number of errors per second that occur during the execution of HTTP requests, including any parser, compilation, or run-time errors.
# TYPE windows_asp_net_application_errors_per_sec gauge
windows_asp_net_application_errors_per_sec 0
# HELP windows_asp_net_application_managed_memory_used_estimated Estimated memory usage for the application
# TYPE windows_asp_net_application_managed_memory_used_estimated gauge
windows_asp_net_application_managed_memory_used_estimated 0
# HELP windows_asp_net_application_percent_managed_processor_time_estimated Estimated cpu usage for the application
# TYPE windows_asp_net_application_percent_managed_processor_time_estimated gauge
windows_asp_net_application_percent_managed_processor_time_estimated 0
# HELP windows_asp_net_application_request_wait_time_ms The number of milliseconds the most recent request waited in the queue before being processed
# TYPE windows_asp_net_application_request_wait_time_ms gauge
windows_asp_net_application_request_wait_time_ms 0
# HELP windows_asp_net_application_requests_executing The number of requests currently executing.
# TYPE windows_asp_net_application_requests_executing gauge
windows_asp_net_application_requests_executing 0
# HELP windows_asp_net_application_requests_in_application_queue The number of requests currently in the queue.
# TYPE windows_asp_net_application_requests_in_application_queue counter
windows_asp_net_application_requests_in_application_queue 0
# HELP windows_asp_net_application_requests_per_sec The number of requests executed per second.
# TYPE windows_asp_net_application_requests_per_sec counter
windows_asp_net_application_requests_per_sec 0

net_dataprovider_sqlserver

# HELP windows_net_dataprovider_sqlserver_hard_connects_per_second The number of connections per second that are being made to a database server.
# TYPE windows_net_dataprovider_sqlserver_hard_connects_per_second gauge
windows_net_dataprovider_sqlserver_hard_connects_per_second{process="name_of_process[unique_process_pid]"} 56
# HELP windows_net_dataprovider_sqlserver_hard_disconnects_per_second The number of disconnects per second that are being made to a database server.
# TYPE windows_net_dataprovider_sqlserver_hard_disconnects_per_second gauge
windows_net_dataprovider_sqlserver_hard_disconnects_per_second{process="name_of_process[unique_process_pid]"} 55
# HELP windows_net_dataprovider_sqlserver_number_of_active_connection_pools The total number of connection pools.
# TYPE windows_net_dataprovider_sqlserver_number_of_active_connection_pools gauge
windows_net_dataprovider_sqlserver_number_of_active_connection_pools{process="name_of_process[unique_process_pid]"} 1
# HELP windows_net_dataprovider_sqlserver_number_of_active_connections The number of active connections that are currently in use.
# TYPE windows_net_dataprovider_sqlserver_number_of_active_connections gauge
windows_net_dataprovider_sqlserver_number_of_active_connections{process="name_of_process[unique_unique_process_pid]"} 0
# HELP windows_net_dataprovider_sqlserver_number_of_free_connections The number of connections available for use in the connection pools.
# TYPE windows_net_dataprovider_sqlserver_number_of_free_connections gauge
windows_net_dataprovider_sqlserver_number_of_free_connections{process="name_of_process[unique_process_pid]"} 0
# HELP windows_net_dataprovider_sqlserver_number_of_non_pooled_connections The number of active connections that are not pooled.
# TYPE windows_net_dataprovider_sqlserver_number_of_non_pooled_connections gauge
windows_net_dataprovider_sqlserver_number_of_non_pooled_connections{process="name_of_process[unique_process_pid]"} 0
# HELP windows_net_dataprovider_sqlserver_number_of_pooled_connections The number of active connections that are being managed by the connection pooling infrastructure.
# TYPE windows_net_dataprovider_sqlserver_number_of_pooled_connections gauge
windows_net_dataprovider_sqlserver_number_of_pooled_connections{process="name_of_process[unique_process_pid]"} 1

@jaco-van-zyl-derivco jaco-van-zyl-derivco requested a review from a team as a code owner October 24, 2023 13:20
@jaco-van-zyl-derivco
Copy link
Contributor Author

Hi @breed808 thanks for the comments on 1232. I though it would be best to close the initial PR and focus on creating a new one after merging with master.

Please let me know if you require any more information or have any more feedback regarding the collectors.

@DavidSkDerivco
Copy link

@breed808, has there been any review to this yet?

@yougenn
Copy link

yougenn commented Nov 23, 2023

any feedback on this?

@jaco-van-zyl-derivco
Copy link
Contributor Author

Good day maintainers, @breed808 @carlpett @jkroepke.
Could I please request some feedback on this PR?

@jkroepke
Copy link
Member

@jaco-van-zyl-derivco

We had an internal refactoring #1324 . Please do a rebase and do the refactor for the collectors.

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.

4 participants