Skip to content

Generate measurement logs with timestamps #552

@andrenth

Description

@andrenth

Currently Gatekeeper generates measurement logs without a timestamp. For example:

GATEKEEPER GK: The GK block basic measurements at lcore = 10: [tot_pkts_num = 446848, tot_pkts_size = 238366782, pkts_num_granted = 440041, pkts_size_granted = 234185440, pkts_num_request = 4579, pkts_size_request =  623809, pkts_num_declined = 2228, pkts_size_declined =  1942893, tot_pkts_num_dropped = 2228, tot_pkts_size_dropped =  1942893, tot_pkts_num_distributed = 0, tot_pkts_size_distributed =  0]

We are working on storing Gatekeeper measurements in InfluxDB, and having date and time information in the log message would make the job easier. The format of the timestamp is not that important as long as it can be parsed with some ease by some strptime-like function. My suggestion is YYYY-MM-DD HH:MM:SS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Operational demandThis issue would make Gatekeeper safer and/or cheaper to operate

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions