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

- Update to push_metrics 0.10.0 #72

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GIT
remote: https://github.com/hathitrust/push_metrics
revision: cc7ca6b6c65130335e933f5686f60a82ba1c97c7
revision: 3cba728a95eb936fed5f06da028c88d06bb23996
specs:
push_metrics (0.9.1)
push_metrics (0.10.0)
milemarker (~> 1.0)
prometheus-client (~> 4.0)

Expand Down
3 changes: 2 additions & 1 deletion spec/cictl/index_command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def unique_id_count(examples)

around(:each) do |example|
job_name = HathiTrust::Services[:job_name]
Faraday.delete("#{ENV["PUSHGATEWAY"]}/metrics/job/#{job_name}")
# Trailing slash on URL is needed because we are matching instance with blank name
Faraday.delete("#{ENV["PUSHGATEWAY"]}/metrics/job/#{job_name}/instance/")
with_test_environment do |tmpdir|
example.run
end
Expand Down
Loading