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

Bug(metrics): fileimport service does not produce metrics until after a file is imported #915

Closed
iainsproat opened this issue Aug 11, 2022 · 2 comments
Labels
bug Something isn't working monitoring

Comments

@iainsproat
Copy link
Contributor

What package are you referring to?

File import service

Describe the bug

File import service initially appears to Prometheus to be in an unknown state. This is because no metrics are available to be scraped until after a file has been imported.

To Reproduce

  1. Deploy speckle on kubernetes with prometheus metrics enabled
  2. Port-forward prometheus and view the prometheus targets http://localhost:9090/targets?search=
  3. See that all targets except fileimport are in an up state, and fileimport is in an unknown state.

Expected behavior

Fileimport service should be shown as up by prometheus as soon as it is reporting to kubernetes it is ready.

Additional context

Proposed Solution (if any)

File import service should produce some metrics on startup, even if these are zero values.

@iainsproat iainsproat added bug Something isn't working monitoring labels Aug 11, 2022
@iainsproat
Copy link
Contributor Author

This may not be the bug I originally thought it was. I may have just been too early in looking at Prometheus and not allowed enough time for it to scrape all the services - will try to recreate this to verify the behaviour.

@iainsproat
Copy link
Contributor Author

Closing as not recreatable and probably not important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working monitoring
Projects
None yet
Development

No branches or pull requests

1 participant