-
Notifications
You must be signed in to change notification settings - Fork 712
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
Reorganise the render/ package #1360
Conversation
f2fffb6
to
11b9a6f
Compare
@@ -381,6 +382,7 @@ var ( | |||
kubernetes.PodState: "running", | |||
kubernetes.PodContainerIDs: ServerContainerID, | |||
kubernetes.ServiceIDs: ServiceID, | |||
report.HostNodeID: ServerHostNodeID, |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
The files in this seem structured to match the probes (docker, kubernetes, process). Thoughts about having one-file-per-target? i.e. making them match |
Discussed elsewhere, to rename the files according to "top-level" renderer (i.e. "process", "container", "pod", and "host"), then each file includes any sub-views (so ContainerHostname view goes in "container"). |
@paulbellamy PTAL. |
Aim here is for no code changes, but to break down mapping.go and topology.go into separate files for each topology, which container both the mapping functions and the topology renderers.