question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Advanced Observability for H2

See original GitHub issue

Continuation of https://github.com/linkerd/linkerd/issues/1507

Update the stats filter from https://github.com/linkerd/linkerd/issues/1507 to accept an H2ResponseClassifier as a stack param. H2ResponseClassifier is essentially the type:

PartialFunction[(Request, Try[(Response, Try[Frame])]), ResponseClass]

Whenever any of the following conditions are met, the stats filter should consult the classifier and increment the success or failures stat accordingly:

  • The response future fails. (req, Throw(e)) should be passed to the classifier.
  • The response stream fails. (req, Return(rsp, Throw(e))) should be passed to the classifier.
  • The response stream completes successfully. (req, Return(rsp, Return(f))) should be passed to the classifier where f is the final frame (EOS) of the response stream.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
adleongcommented, Jul 17, 2017

That would be “hella dope”. Similarly: histogram of frame sizes.

1reaction
adleongcommented, Jul 15, 2017

We should also add some reasonable built-in classifiers:

  • Successful iff response and response stream are successful
  • Successful if response and response stream are successful and response status is < 500
Read more comments on GitHub >

github_iconTop Results From Across the Web

H2 | New Relic Instant Observability
Leverage community expertise and instantly get value out of your telemetry data. This quickstart automatically instruments H2 with the New Relic Java agent,...
Read more >
What is Observability? Key Components & Platforms
Observability is when you infer the internal state of a system only by observing its external outputs. Learn about observability best ...
Read more >
Who's Winning In the $17B AIOps and Observability Market
Today's massive multi- and hybrid cloud deployments require new engineering skills, hence the surge in demand for site reliability engineers ( ...
Read more >
What is observability? Not just logs, metrics, and traces
Advanced observability from Dynatrace provides all these capabilities in a single platform, empowering your organization to tame modern cloud ...
Read more >
How Observability is Driving Agility & Flexibility in Modern Apps
Advanced observability addresses the challenges of cloud-native applications by proposing a better way of collecting data from all system components to gain ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found