is it possible to send custom metrics using metricbeats?

I have a python application from which i want to send some custom metrics to my elastic search. An example use case can be when a user does the delete data operation on the application (and this would not be an api call). I am already using elastic-APM to send real user metrics but is there anyway i can also send lots of other custom metrics like the one i just shared. One way I found was using the ElasticSearch client but is it possible to use metricbeat instead(I read that metricbeat provides metric shipper for some services). What would be the difference if i would do so?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum