Shrine
Shrine is a Ruby gem that provides a simple, declarative way to build file uploaders. You can instrument your uploaders with dry-monitor to get a detailed log of all the files that are uploaded.
For more information, please visit the official Shrine documentation.
Shrine.plugin :instrumentation, monitor: Dry::Monitor::Notifications.new(:my_app)
GraphQL
You can easily instrument GraphQL applications with dry-monitor with a simple custom tracer.
# system/boot/container.rb
use :notifications
end
# app/my_schema.rb
tracer GraphQL::Tracing::NotificationsTracing.new(App[:notifications])
end