Scrape influxdb

Influxdb has 4 endpoints:
graphite on port 2003
opentsdb on port 4242
rpc on port 8086
http on port 8088
Can i scrape all these endpoints or some.
And how do I configure for scraping , in the prometheus.yml file .