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

soroban-rpc: ingestion engine should set user-agent header on history archive requests #8

Closed
mollykarcher opened this issue Jan 16, 2024 · 1 comment · Fixed by #56
Assignees
Labels
bug Something isn't working

Comments

@mollykarcher
Copy link
Contributor

mollykarcher commented Jan 16, 2024

What version are you using?

20.2.0

What did you do?

run rpc server

What did you expect to see?

  • outbound http archive url requests initiated by rpc server's ingestion should have the http header User-Agent: "horizon/<horizon_version> golang/<go_mod_version>
  • a prometheus metric is emitted for the history archive request

What did you see instead?

the outbound archive url request has the default golang http header instead User-Agent: "Go-http-client, no metrics for history archive request emitted.

See parent/root issue stellar/go#5163

@sreuland
Copy link
Contributor

this depends on stellar/go#5161 to merge to the 2.28.0 release branch first, for updates to the historyarchive package which is used by rpc ingestion and imported via go.mod

@stellarsaur stellarsaur transferred this issue from stellar/stellar-cli Feb 1, 2024
sreuland added a commit that referenced this issue Feb 8, 2024
@sreuland sreuland moved this from In Progress to Needs Review in Platform Scrum Feb 9, 2024
sreuland added a commit that referenced this issue Feb 9, 2024
sreuland added a commit that referenced this issue Feb 9, 2024
@github-project-automation github-project-automation bot moved this from Needs Review to Done in Platform Scrum Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants
@mollykarcher @sreuland and others