Assuming you downloaded the code as explained now run the script script_with_kensu.py
The code is below. To run it, you don't need to change the configuration file that you downloaded. The conf.ini file is configured with the default settings. The default settings write the data to the Kensu cloud, i.e., APIReporter.
In other words, the config file has all the [kensu.reporter] items commented out:
; Name (class but conventional for now) of the reporter
;name can be ApiReporter, KafkaReporter, PrintReporter, LoggingReporter, FileReporter, MultiReporter
; Conf: MultiReporter
;reporters=["KafkaReporter", "PrintReporter", "LoggingReporter", "FileReporter"]
; Conf: KafkaReporter
Run the program like this: python script_with_kensu.py
os.environ["KSU_CONF_FILE"] = "conf.ini"
from kensu.utils.kensu_provider import KensuProvider
kensu = KensuProvider().initKensu()
import kensu.pandas as pd
customers_info = pd.read_csv('data/customers-data.csv')
contact_info = pd.read_csv('data/contact-data.csv')
business_info = pd.read_csv('data/business-data.csv')
customer360 = customers_info.merge(contact_info,on='id')
monthly_ds = pd.merge(customer360,business_info)
The three DataFrames were merged. The data is written to the Kensu cloud by the pd.merge() function.
You need to be logged into to see the data.