Skip to content

Commit d977d2b

Browse files
authored
Merge pull request #29 from middleware-labs/python-discovery/defaulting-name-to-system
reverted python default service type to from
2 parents 9975cbb + 002345a commit d977d2b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/discovery/report.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ func GetAgentReportValue() (AgentReportValue, error) {
107107
AutoInstrumentationSettings: settings,
108108
},
109109
}
110-
111110
return reportValue, nil
112111
}
113112

@@ -164,7 +163,7 @@ func convertPythonProcessToServiceSetting(proc PythonProcess) ServiceSetting {
164163
key := fmt.Sprintf("host-%d", proc.ProcessPID)
165164

166165
// Determine the service type based on process manager or environment
167-
serviceType := "standalone"
166+
serviceType := "system"
168167

169168
if proc.IsInContainer() {
170169
serviceType = "docker"

0 commit comments

Comments
 (0)