You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All environment variables are still Akita-branded, but we now recognize
`POSTMAN_LC_AGENT_DISABLE_TELEMETRY` in addition to the existing
`AKITA_DISABLE_TELEMETRY`.
printer.Warningf("It might be that you are in a PaaS that disallows packet capture, or the local configuration has disabled that privilege by default.\n")
48
48
returnNewApidumpError(api_schema.ApidumpError_PCAPPermission, "Insufficient permissions in container.")
49
49
} else {
50
-
printer.Warningf("Although you are running as root, the Akita agent lacks the CAP_NET_RAW capability.\n")
50
+
printer.Warningf("Although you are running as root, the Postman Live Collections Agent lacks the CAP_NET_RAW capability.\n")
51
51
printer.Warningf("It might be that you are in a restricted environment which disallows packet capture, even as the root user.\n")
"Unable to read network interfaces. If your host architecture is not %s, try using the Akita install script: `bash -c \"$(curl -L https://releases.akita.software/scripts/install_akita.sh)\"`",
82
+
"Unable to read network interfaces. If your host architecture is not %s, try using the Postman Live Collections Agent install script: `bash -c \"$(curl -L https://releases.observability.postman.com/scripts/install-postman-lc-agent.sh)\"`",
printer.Stderr.Infof("TCP Port %5d: has an unusually high amount of traffic that Akita cannot parse.\n", p)
136
+
printer.Stderr.Infof("TCP Port %5d: has an unusually high amount of traffic that Postman cannot parse.\n", p)
137
137
}
138
138
ifthisPort.HTTP2Prefaces>0 {
139
-
printer.Stderr.Infof("TCP Port %5d: Contains HTTP/2 traffic (%d connections detected), which Akita cannot parse.\n", p, thisPort.HTTP2Prefaces)
139
+
printer.Stderr.Infof("TCP Port %5d: Contains HTTP/2 traffic (%d connections detected), which Postman cannot parse.\n", p, thisPort.HTTP2Prefaces)
140
140
}
141
141
continue
142
142
}
@@ -158,7 +158,7 @@ func (s *Summary) printPortHighlights(top *client_telemetry.PacketCountSummary)
158
158
159
159
// If we saw HTTP/2, report it.
160
160
ifthisPort.HTTP2Prefaces>0 {
161
-
printer.Stderr.Infof("TCP port %5d: %5d packets (%d%% of total), no HTTP/1.1 requests or responses, %d HTTP/2 connection attempts. Akita cannot currently parse HTTP/2.\n",
161
+
printer.Stderr.Infof("TCP port %5d: %5d packets (%d%% of total), no HTTP/1.1 requests or responses, %d HTTP/2 connection attempts. Postman cannot currently parse HTTP/2.\n",
printer.Stderr.Infof("If you're using macOS and your service is not running in a Docker container, try using the native Akita agent with `brew install akita-cli`. See docs.akita.software/docs/macos-local for details.\n")
304
+
printer.Stderr.Infof("If you're using macOS and your service is not running in a Docker container, try using the native Postman Live Collections Agent with `brew install postman-lc-agent`.\n")
printer.Stderr.Warningf("Encountered errors with %d HAR file entries.\n", entriesCount-successCount)
34
-
printer.Stderr.Warningf("Akita will ignore entries with errors and generate a spec from the %d entries successfully processed.\n", successCount)
34
+
printer.Stderr.Warningf("Postman Live Insights will ignore entries with errors and generate a spec from the %d entries successfully processed.\n", successCount)
Copy file name to clipboardExpand all lines: cmd/internal/apidump/apidump.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -196,12 +196,14 @@ func init() {
196
196
&outFlag,
197
197
"out",
198
198
"The location to store the trace. Can be an AkitaURI or a local directory. Defaults to a trace on the Akita Cloud. Exactly one of --out or --project must be specified.")
199
+
Cmd.Flags().MarkDeprecated("out", "For use by Akita users")
199
200
200
201
Cmd.Flags().StringVar(
201
202
&serviceFlag,
202
203
"project",
203
204
"",
204
205
"Your Akita project. Exactly one of --out or --project must be specified.")
206
+
Cmd.Flags().MarkDeprecated("project", "For use by Akita users")
205
207
206
208
Cmd.Flags().StringVar(
207
209
&postmanCollectionID,
@@ -263,7 +265,7 @@ func init() {
263
265
&appendByTagFlag,
264
266
"append-by-tag",
265
267
false,
266
-
"Add to the most recent Akita trace with matching tag.")
268
+
"Add to the most recent trace with matching tag.")
267
269
Cmd.Flags().MarkDeprecated("append-by-tag", "and is no longer necessary. All traces in a project are now combined into a single model. Please remove this flag.")
268
270
269
271
Cmd.Flags().StringSliceVar(
@@ -314,7 +316,7 @@ func init() {
314
316
&pluginsFlag,
315
317
"plugins",
316
318
nil,
317
-
"Paths of third-party Akita plugins. They are executed in the order given.",
319
+
"Paths of third-party plugins. They are executed in the order given.",
0 commit comments