Just to add: if you really can't add an HTTP server, then you can also push to the Pushgateway and let Prometheus scrapes that:
http://prometheus.io/docs/instrumenting/pushing/
Keep in mind that Prometheus works best with pull, and pushing is best left as a last resort for things behind a firewall or batch jobs.
Some explanation:
The pushgateway acts as a single-value caching proxy (i.e. it doesn't keep any history, only the last value). When Prometheus scrapes it, it will assign the timestamp from the scrape to the scraped samples, not the timestamp from the push. It's also possible to set client-side manual timestamps in the push, but you have to be a bit careful with that, and the expectation is that the pushing client should regularly send updates then.
If a job that pushes dies or goes away, the values it pushed need to be manually cleaned up from the pushgateway, and Prometheus won't automatically detect that they're no longer needed.