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.

Add specific name field to AnnotatedHttpService related annotations for logger/metrics

See original GitHub issue

problem

currrently when we use AnnotatedHttpService, logger/metrics names become followings

  • loggerName
    • armeria.services.__UNKNOWN__
  • metricName example (get from metrics path)
    • server.${serviceName}.__UNKNOWN_PATH__.GET.successes

proposal

add metricName or something into @Get, @Post, … annotations. then fill-in into logger/metrics name.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
trustincommented, Jul 3, 2017

@krrrr38 Should be fixed by #659. Could you review it?

0reactions
krrrr38commented, Jul 4, 2017

thanks 😃 actually in my current situation, it’s enought. it’s ok to keep or do that issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add Annotations on Service Portal Form Widget fields
Solved: Hi SNC, I realized some time ago that the annotations that we add to form fields do not appear on Service Portal's...
Read more >
Annotations | Kubernetes
Annotations are key/value pairs. Valid annotation keys have two segments: an optional prefix and name, separated by a slash ( / ).
Read more >
Annotated services — Armeria documentation
Armeria provides a way to write an HTTP service using annotations. It helps a user make his or her code simple and easy...
Read more >
Create annotation feature classes—ArcGIS Pro | Documentation
When creating feature-linked annotation, specify the linked feature class fields that contain text for the first annotation class on the Label Expression tab....
Read more >
Customizing summary pages with annotations - IBM
To add an annotation text column to a summary page: ... Type the name for the column for each of the types after...
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