Skip to content

Commit

Permalink
improce process-agent status template
Browse files Browse the repository at this point in the history
  • Loading branch information
mbotarro committed Feb 11, 2022
1 parent 9a5c1b0 commit b9b531f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/status/templates/process-agent.tmpl
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
=============
Process Agent
=============

{{- if .error }}

Status: Not running or unreachable
{{- else }}

Version: {{ .core.version }}
Status date: {{ formatUnixTime .date }}
Process Agent Start: {{ formatUnixTime .expvars.uptime_nano }}
Expand Down Expand Up @@ -34,7 +35,6 @@ Process Agent
=========
Collector
=========

Last collection time: {{.expvars.last_collect_time}}
Docker socket: {{.expvars.docker_socket}}
Number of processes: {{.expvars.process_count}}
Expand All @@ -45,4 +45,5 @@ Process Agent
Process Bytes enqueued: {{.expvars.process_queue_bytes}}
RTProcess Bytes enqueued: {{.expvars.rtprocess_queue_bytes}}
Pod Bytes enqueued: {{.expvars.pod_queue_bytes}}
{{ end }}
{{- end }}

0 comments on commit b9b531f

Please sign in to comment.