Skip to content
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

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

shreys7
Copy link
Member

@shreys7 shreys7 commented Nov 2, 2023

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
Copy link
Contributor

@mgritter mgritter left a comment

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
akinet/net_traffic.go Outdated Show resolved Hide resolved
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
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.

None yet

2 participants