What data source you have in Grafana? If this is ElasticSearch, you have to just create simple HTTP service that will receive payload of problem when it is raised (custom webhook integration). Than you just need push data from this payload into ELK index, and you will have them in Grafana. It’s only example, but when you have different data source you can do this the same way.
What purpose would it be for you to store problems in Grafana?