It sounds like you are trying to use Prometheus to store events, which
won't work as Prometheus is a metric system.
Normally what you would expose from your application are counters giving
the total number of the event being monitored as well as the total
duration of all of that event.
Once scraped you can then show things like the number of events over a
given period of time, as well as the average durations of those events
over that period. What you cannot do with a metric system is know
anything specific about an individual event. To do that you need an
event system, such as Loki, Elasticsearch or a SQL database.
--
Stuart Clark