X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ftelemetry%2Fconstants.py;h=5363ddeaa48507617e504db6c24a4fa4bea6351a;hb=refs%2Fchanges%2F52%2F35952%2F27;hp=fda558b0b40c6bdf4964994f0b439459921a7f47;hpb=e2b220824914769fd9f4b245038cc31fb8425b18;p=csit.git diff --git a/resources/tools/telemetry/constants.py b/resources/tools/telemetry/constants.py index fda558b0b4..5363ddeaa4 100644 --- a/resources/tools/telemetry/constants.py +++ b/resources/tools/telemetry/constants.py @@ -17,6 +17,7 @@ does not need to be hard coded here, but can be read from environment variables. """ + class Constants: """Constants used in telemetry. 1-10: Telemetry errors @@ -26,6 +27,12 @@ class Constants: # Failed when processing data err_telemetry_process = 1 + # Failed to read YAML file + err_telemetry_yaml = 2 + + # Error executing bundle + err_telemetry_bundle = 3 + # Could not connect to VPP err_vpp_connect = 11 @@ -35,3 +42,12 @@ class Constants: # Failed when executing command err_vpp_execute = 13 + # Could not attach BPF events + err_linux_attach = 51 + + # Could not detach BPF events + err_linux_detach = 52 + + # Could not successfuly run perf stat command + err_linux_perf_stat = 53 +