Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
700 stars 145 forks source link

Added FDW for OpenStack/Telemetry service #56

Closed hhamalai closed 10 years ago

hhamalai commented 10 years ago

Telemetry (formerly known as Ceilometer) service is used to query different cloud instance metrics through a REST API. This module implements FDW for Telemetry service and handles the OpenStack authentication required to execute the queries.

rdunklau commented 10 years ago

Thank you for writing an FDW !

However, it would be best packaged as a separate project. If you need help with that, let me know.

hhamalai commented 10 years ago

Can you point me to some instructions and/or examples about the third party FDW projects?

rdunklau commented 10 years ago

Basically, it just boils down to relocating your fdw in a module named something else than multicorn, and adding a setup.py file which will allow you to install it.

An example can be found here: https://github.com/rdunklau/logfdw

This example was written for a talk, which slides are here: http://www.dalibo.org/_media/multicorn/pgday.eu.2013.multicorn_writing_foreign_data_wrappers_in_python.pdf

hhamalai commented 10 years ago

Thanks, will do it this way.

Cheers, Harri

hhamalai commented 10 years ago

This is now in its own project: https://github.com/hhamalai/telemetry-fdw