spring-cloud / spring-cloud/spring-cloud-openfeign

Feign Metrics not exposed in AOT mode via `MicrometerCapability`

Open
#1,174 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

waiting-for-triage
Dominant language
Java
Stars
1.3k
Forks
838
Avg merge
2d 11h
Merged PRs (30d)
13

Description

Now, I realise that the issue isn't actually in SC open feign, and feign doesn't officially support AOT, but nevertheless there is a FeignHints registrar, so i think it won't hurt extending it.

I suspect that Capability-s in general don't work in native at all for two reasons:

Unfortunately, I don't have the time to make a proper contribution with tests etc.
Thanks in advance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the FeignHints registrar and compare the reflection paths in Capability and BaseBuilder mentioned in the issue, including MicrometerCapability and BaseBuilder subclasses. Verify how capabilities behave in AOT or native mode, then add the necessary hints and tests so Feign metrics are exposed there.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.