This repository was archived by the owner on Jul 10, 2024. It is now read-only.
Tags: postmanlabs/observability-cli
Tags
[POA-168] Clean up authentication messages (#267) In this PR, we have updated some of the error messages shown to users in case of errors. * Remove mention of login command with postman-insights-agent * Remove mention of contacting the postman support team if a user is using --collection flag * The 3rd message mentioned in the JIRA ticket has already been fixed in earlier releases. * Don't show the raw response body to the user for external API call errors; instead, show a generic message for unhandled cases. **PS**: To show the user the proper message, we will need to follow a standard error response model, which will involve changes in both the Agent and Superstar services. Otherwise, we will face issues in mapping the response to the proper Golang object.
[POA-527] Add apidump flags support in ecs command (#265) Plan: https://postmanlabs.atlassian.net/wiki/spaces/PO/pages/5053218962/Plan+Insights+Agent+ECS+and+other+tasks+for+supporting+50+users * Added support for the following eight flags: `filter`, `host-allow`, `host-exclusions`, `interfaces`, `path-allow`, `path-exclusions`, `rate-limit` and `stats-log-delay`. * Added new vars and persistent flags for them * These flags were used in `makeAgentContainerDefinition()` and `add.go` while constructing the entryPoint slice. * For flags which are of slice type we are adding them separately instead of joining them with comma(,) * These flags can also be used in all three sub-commands, i.e. `add`, `cf-fragment` and `task-def` --- Reviewers: * Primary: @shreys7 * Secondary: @mgritter
POA-114 Add ecs cf-fragment and ecs task-def subcommands (#263) Added `ecs cf-fragment` subcommand for printing an AWS CloudFormation fragment for adding the agent to ECS as a sidecar. Added `ecs task-def` subcommand for printing a task definition that can be added to an ECS cluster to run the agent as a daemon in host-networking mode on every EC2 instance in the cluster. Removed `--collection` from `ecs` subcommands.
[POA-877|669] Refactor telemetry events (#262) * Refactored `distinctID()` function in `telemetry.go` to have both `user_id` and `team_id` instead of only `distinct_id`. * We will be sending both `user_id` and `team_id` as base properties along with other event specific properties * Done changes in the event names to combine various events with a single generic event, each separate event can be identified by the properties More info on events refactoring: https://docs.google.com/spreadsheets/d/19u7kHBunBLcbtfQjTvrrnQ_cgiOOEKYO9lhWviuCuk8/edit?usp=sharing
[POA-885] Replace serviceID with projectID (#259) * We are showing serviceID in logs only in the `util.go` functions while looking for service. * Replaced service -> project and serviceID -> projectID * Also done changes in `GetServiceIDByPostmanCollectionID()` since we are not removing it now itself.
POA-894 Remove mentions of Akita (+ other fixes & cleanup) (#258) * Reinstated the Easter egg. * Fixed the command for stopping the agent in ECS. * Removed code for commands that have been removed. Keeping `nginx`, however. * Removed dead `apidiff` code. * Removed `ci_guard`. No longer relevant, now that we're not a Github app anymore. * Removed support for deployments. * Don't create `.akita` directory. * `ecs` command: stop checking for Akita container images. * Rename environment variables: `AKITA_` → `POSTMAN_`. * `kube` command: removed support for Akita `--project` flag and Akita authentication. * Removed support for Akita back-end domains. * Removed mentions of Akita.
POA-874 Remove unused security-scan workflow (#257) The security scan is not running anywhere, and is preventing syncs with [postmanlabs/postman-insights-agent](https://github.com/postmanlabs/postman-insights-agent). We will restore this as part of the Github-migration effort: [POA-875](https://postmanlabs.atlassian.net/browse/POA-875).
POA-874 Remove unused security-scan workflow (#257) The security scan is not running anywhere, and is preventing syncs with [postmanlabs/postman-insights-agent](https://github.com/postmanlabs/postman-insights-agent). We will restore this as part of the Github-migration effort: [POA-875](https://postmanlabs.atlassian.net/browse/POA-875).
PreviousNext