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 more ActiveSupport notification event markers #119

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joshuay03
Copy link
Collaborator

@joshuay03 joshuay03 commented Dec 25, 2024

WIP

New comprehensive list:

# ActiveRecord

sql.active_record
instantiation.active_record
start_transaction.active_record (added)
transaction.active_record (added)

# ActionController

start_processing.action_controller
process_action.action_controller
send_data.action_controller (added)
send_stream.action_controller (added)
send_file.action_controller (added)
read_fragment.action_controller (added)
write_fragment.action_controller (added)
exist_fragment?.action_controller (added)
expire_fragment.action_controller (added)

# ActionDispatch

process_middleware.action_dispatch (added)
request.action_dispatch (added)

# ActiveSupport

cache_read.active_support
cache_read_multi.active_support
cache_fetch_hit.active_support
cache_write.active_support (added)
cache_write_multi.active_support (added)
cache_increment.active_support (added)
cache_decrement.active_support (added)
cache_delete.active_support (added)
cache_delete_multi.active_support (added)
cache_delete_matched.active_support (added)
cache_exist?.active_support (added)
cache_generate.active_support (added)
cache_cleanup.active_support (added)
cache_prune.active_support (added)

# ActionView

render_template.action_view
render_layout.action_view
render_partial.action_view
render_collection.action_view

# ActionCable

perform_action.action_cable (added)
transmit.action_cable (added)
transmit_subscription_confirmation.action_cable (added)
transmit_subscription_rejection.action_cable (added)
broadcast.action_cable (added)

# ActionMailer

process.action_mailer (added)
deliver.action_mailer (added)
read_fragment.action_mailer (added)
write_fragment.action_mailer (added)
exist_fragment?.action_mailer (added)
expire_fragment.action_mailer (added)

# ActionMailbox

process.action_mailbox (added)

# ActiveJob

enqueue.active_job (added)
enqueue_at.active_job (added)
enqueue_all.active_job (added)
perform.active_job (added)
perform_start.active_job (added)
enqueue_retry.active_job (added)
retry_stopped.active_job (added)
discard.active_job (added)

# ActiveStorage

analyze.active_storage (added)
preview.active_storage (added)
mirror.active_storage (added)
transform.active_storage (added)
service_url.active_storage (added)
service_upload.active_storage (added)
service_download.active_storage (added)
service_download_chunk.active_storage (added)
service_streaming_download.active_storage (added)
service_update_metadata.active_storage (added)
service_delete.active_storage (added)
service_delete_prefixed.active_storage (added)
service_exist.active_storage (added)

# Railties

load_config_initializer.railties

Other events I found but won't be adding:

# ActiveRecord

strict_loading_violation.active_record
database_selector.active_record.read_from_primary
database_selector.active_record.read_from_replica
database_selector.active_record.wrote_to_primary

# ActionController

browser_block.action_controller
rate_limit.action_controller
halted_callback.action_controller
redirect_to.action_controller

# ActionDispatch

redirect.action_dispatch

# ActiveSupport

message_serializer_fallback.active_support

# ActionView

NA

# ActionCable

NA

# ActionMailer

NA

# ActionMailbox

NA

# ActiveJob

NA

# ActiveStorage

NA

# Railties

deprecation.rails

@joshuay03 joshuay03 self-assigned this Dec 25, 2024
@joshuay03 joshuay03 force-pushed the add-more-as-notification-events branch from 335cb35 to 2a86777 Compare December 25, 2024 04:32
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.

1 participant