I am having a sensu check for ssl plugin. I want to know how can I export a metric for the same check in grafana using graphite.
The most important thing to know is does your check provide metrics as part of its output (e.g. as Nagios Perfdata or some other format)? It would help to know which ssl check you are using.
Once you have a check that is creating metrics, the rest is relatively simple. You need to specify in your check definition what format the check output metrics are in (output_metric_format) and then a handler for those metrics (output_metric_handlers). These definitions can be found here.
For the output_metric_handler you should be able to use this graphite handler to send the metrics to Graphite.