Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pluginify Ops Agent #1840

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
ef6c201
UAP Ops Agent Golang Wrapper.
XuechunHou Nov 26, 2024
5f78a34
Implement GetStats() and Stop()
XuechunHou Nov 28, 2024
bb8b7bf
Redirected wrapper logs into a file.
XuechunHou Nov 29, 2024
9681020
Trying to make ops agent uap plugin work with the existing Ops Agent
XuechunHou Nov 29, 2024
efa5b09
Chmod a+rx ops_agent_plugin.sh
XuechunHou Nov 29, 2024
2f260f1
Fixed error: "Dockerfile was not generated by ./dockerfiles/compile. …
XuechunHou Nov 29, 2024
94a6492
Fixed "Installed (but unpackaged) file(s) found:/opt/google-cloud-ops…
XuechunHou Nov 29, 2024
ab2dba7
The ops agent wrapper no longer logs healthcheck result to `systemtcl
XuechunHou Dec 2, 2024
d37fd83
Added signal handler in sub go routines.
XuechunHou Dec 3, 2024
541397a
Created a child ctx from the parent context for go routines that spanw
XuechunHou Dec 11, 2024
522dee5
Took config generation out of goroutine. Failures in config generation
XuechunHou Dec 17, 2024
f31c898
Printed the plugin self logs to systemd journal.
XuechunHou Dec 17, 2024
e7046d5
Defined a restart limit. If subagents or the diagnostics service fail to
XuechunHou Dec 17, 2024
b1e98f9
Ran go mod tidy.
XuechunHou Dec 18, 2024
ff2299a
Added conflicting legacy agent installation detection.
XuechunHou Dec 18, 2024
987e437
Fixed conflicting installation verification
XuechunHou Dec 19, 2024
4eac5b0
Added more logging to debug third party test.
XuechunHou Dec 19, 2024
bbcc1c5
If "Loaded: not found" is present in the `systemctl status` command
XuechunHou Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ran go mod tidy.
  • Loading branch information
XuechunHou committed Dec 18, 2024
commit b1e98f9af6d84956b02e457bc1b334c1bcfbb0a2
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@ require (

require (
golang.org/x/sync v0.10.0
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed
gopkg.in/yaml.v3 v3.0.1
)
@@ -72,7 +73,6 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b // indirect
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/digitalocean/godo v1.118.0 // indirect
github.com/distribution/reference v0.5.0 // indirect