- 
                Notifications
    You must be signed in to change notification settings 
- Fork 73
Open
Description
Hi,
I am using the influx reporter when I run timer function there insertion in record with time but all the values are null, I can see mean value of the function using getmean() but there is no reflection of the timer values in influx DB. The code I am using is given below
reporter = InfluxReporter(registry, reporting_interval=1, database='mydatabase', server='myserver.local', username='myusername', password='mypassword', port='8186')
reporter.start()
time1 = registry.timer("func1_calls")
# def testTimer():
#     with timer("test").time():
#         print("I am from with statement")
#         print(timer("test").get_mean())
#         reporter.report_now()
@time_calls
def func1():
    print("Hey! I am from function 1")
while True:
        time.sleep(1)
        func1()
Metadata
Metadata
Assignees
Labels
No labels
