fields.go 949 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package logfields
  2. const (
  3. // Identifiers
  4. Name = "name"
  5. Namespace = "namespace"
  6. Operation = "operation"
  7. ID = "id"
  8. SandboxID = "sid"
  9. ContainerID = "cid"
  10. ExecID = "eid"
  11. ProcessID = "pid"
  12. TaskID = "tid"
  13. UVMID = "uvm-id"
  14. // networking and IO
  15. File = "file"
  16. Path = "path"
  17. Bytes = "bytes"
  18. Pipe = "pipe"
  19. // Common Misc
  20. Attempt = "attemptNo"
  21. JSON = "json"
  22. // Time
  23. StartTime = "startTime"
  24. EndTime = "endTime"
  25. Duration = "duration"
  26. Timeout = "timeout"
  27. // Keys/values
  28. Field = "field"
  29. Key = "key"
  30. OCIAnnotation = "oci-annotation"
  31. Value = "value"
  32. Options = "options"
  33. // Golang type's
  34. ExpectedType = "expected-type"
  35. Bool = "bool"
  36. Uint32 = "uint32"
  37. Uint64 = "uint64"
  38. // runhcs
  39. VMShimOperation = "vmshim-op"
  40. // logging and tracing
  41. TraceID = "traceID"
  42. SpanID = "spanID"
  43. ParentSpanID = "parentSpanID"
  44. )