Skip to content

[POA-155] Changes for capturing client and server timeouts - #201

Open
shreys7 wants to merge 6 commits into
mainfrom
shrey/update-akita-ir
Open

[POA-155] Changes for capturing client and server timeouts#201
shreys7 wants to merge 6 commits into
mainfrom
shrey/update-akita-ir

Conversation

@shreys7

@shreys7 shreys7 commented Nov 2, 2023

Copy link
Copy Markdown
Member

JIRA: https://postmanlabs.atlassian.net/browse/POA-155
Confluence: https://postmanlabs.atlassian.net/l/cp/EtJHwV3u

Changes

Two sets of changes are included in this PR.

  • Add two new types of Parsed Network Content Objects which will be captured by Agent and sent to the backend collector
    • ClientTimeoutMetadata
    • ServerTimeoutMetadata
  • Update akita-ir version

TODO

Update akita-ir version to match the commit on master once akita-ir#10 is merged

@shreys7
shreys7 requested a review from mgritter November 2, 2023 20:26

@mgritter mgritter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct, good to go once akita-ir changes land and the generator is re-run on that version.

@shreys7 shreys7 changed the title Update akita-ir library [POA-155] Changes for capturing client and server timeouts Nov 10, 2023
@shreys7
shreys7 requested a review from mgritter November 10, 2023 06:33
Comment thread akinet/net_traffic.go Outdated
Comment thread akinet/tcp_parser.go
Comment on lines +17 to +23
const (
CONNECTION_TYPE_HTTP_CLIENT = "HTTP_CLIENT"
CONNECTION_TYPE_HTTP_SERVER = "HTTP_SERVER"
CONNECTION_TYPE_TLS_CLIENT = "TLS_CLIENT"
CONNECTION_TYPE_TLS_SERVER = "TLS_SERVER"
CONNECTION_TYPE_HTTP2_PREFACE = "HTTP2_PREFACE"
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth having these defined for each protocol type, or should we have only client and server? (Or unknown?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants