{"id":44646829,"url":"https://github.com/observatorium/up","last_synced_at":"2026-02-14T20:09:04.948Z","repository":{"id":35694099,"uuid":"204905361","full_name":"observatorium/up","owner":"observatorium","description":"a simple Prometheus and Loki API testing tool","archived":false,"fork":false,"pushed_at":"2025-12-18T13:29:55.000Z","size":442,"stargazers_count":24,"open_issues_count":4,"forks_count":23,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-18T15:59:37.405Z","etag":null,"topics":["prometheus","remote-write","thanos"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/observatorium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-08-28T10:23:32.000Z","updated_at":"2025-12-18T13:29:59.000Z","dependencies_parsed_at":"2024-01-16T10:35:59.756Z","dependency_job_id":"2e2b431b-e440-43f7-8413-e7dbb46ab18f","html_url":"https://github.com/observatorium/up","commit_stats":{"total_commits":84,"total_committers":19,"mean_commits":4.421052631578948,"dds":0.8095238095238095,"last_synced_commit":"e1e1857b0b6e796268005f2cc8f73e760b7dbf34"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/observatorium/up","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observatorium%2Fup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observatorium%2Fup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observatorium%2Fup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observatorium%2Fup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/observatorium","download_url":"https://codeload.github.com/observatorium/up/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observatorium%2Fup/sbom","scorecard":{"id":701171,"data":{"date":"2025-08-11","repo":{"name":"github.com/observatorium/up","commit":"e1e1857b0b6e796268005f2cc8f73e760b7dbf34"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/checks.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/checks.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/checks.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/checks.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/checks.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/checks.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/observatorium/up/tests.yaml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Info:   0 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/checks.yaml:1","Warn: no topLevel permission defined: .github/workflows/publish.yaml:1","Warn: no topLevel permission defined: .github/workflows/tests.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T05:14:45.556Z","repository_id":35694099,"created_at":"2025-08-22T05:14:45.556Z","updated_at":"2025-08-22T05:14:45.556Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29454904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prometheus","remote-write","thanos"],"created_at":"2026-02-14T20:09:04.427Z","updated_at":"2026-02-14T20:09:04.933Z","avatar_url":"https://github.com/observatorium.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UP\n\nUP is a simple client for testing Prometheus remote-write and Loki write requests.\n\nFor a specified metric the client writes the metric at a chosen interval, where the value of the metric is always the current timestamp in milliseconds.\n\nIt can also read the metric back from a specified endpoint and compare its value against the current time to determine the total write-read latency.\n\nFor a specified log entry the client writes the log entry at a chosen interval for the value given.\n\nIt can also read the log back from a specified endpoint and compare the number of results.\n\nWhen the given duration is greater than 0s, UP will evaluate number of errors and will exit with a non-zero code if the ratio is greater than the specified threshold.\n\n[![Build Status](https://github.com/observatorium/up/actions/workflows/checks.yaml/badge.svg?branch=master)](https://github.com/observatorium/up/actions/workflows/checks.yaml)\n\n## Getting Started\n\nThe easiest way to begin making remote write requests is to run the UP container. For example, to report an `up` metric every 10 seconds, run:\n\n```shell\ndocker run --rm -p 8080:8080 quay.io/observatorium/up --endpoint-write=https://example.com/api/v1/receive --period=10s\n```\n\nNote that the metric name and labels are customizable. For example, to report a metric named `foo` with a custom `bar` label, run:\n\n```shell\ndocker run --rm -p 8080:8080 quay.io/observatorium/up --endpoint-write=https://example.com/api/v1/receive --period=10s --name foo --labels 'bar=\"baz\"'\n```\n\n## Usage\n\n```txt mdox-exec=\"./up --help\" mdox-expect-exit-code=2\nUsage of ./up:\n  -duration duration\n    \tThe duration of the up command to run until it stops. If 0 it will not stop until the process is terminated. (default 5m0s)\n  -endpoint-read string\n    \tThe endpoint to which to make query requests.\n  -endpoint-type string\n    \tThe endpoint type. Options: 'logs', 'metrics'. (default \"metrics\")\n  -endpoint-write string\n    \tThe endpoint to which to make remote-write requests.\n  -initial-query-delay duration\n    \tThe time to wait before executing the first query. (default 10s)\n  -labels value\n    \tThe labels in addition to '__name__' that should be applied to remote-write requests.\n  -latency duration\n    \tThe maximum allowable latency between writing and reading. (default 15s)\n  -listen string\n    \tThe address on which internal server runs. (default \":8080\")\n  -log.level string\n    \tThe log filtering level. Options: 'error', 'warn', 'info', 'debug'. (default \"info\")\n  -logs value\n    \tThe logs that should be sent to remote-write requests.\n  -logs-file string\n    \tA file containing logs to send against the logs write endpoint.\n  -name string\n    \tThe name of the metric to send in remote-write requests. (default \"up\")\n  -period duration\n    \tThe time to wait between remote-write requests. (default 5s)\n  -queries-file string\n    \tA file containing queries to run against the read endpoint.\n  -step duration\n    \tDefault step duration for range queries. Can be overridden if step is set in query spec. (default 5m0s)\n  -tenant string\n    \tTenant ID to used to determine tenant for write requests.\n  -tenant-header string\n    \tName of HTTP header used to determine tenant for write requests. (default \"tenant_id\")\n  -threshold float\n    \tThe percentage of successful requests needed to succeed overall. 0 - 1. (default 0.9)\n  -tls-ca-file string\n    \tFile containing the TLS CA to use against servers for verification. If no CA is specified, there won't be any verification.\n  -tls-client-cert-file string\n    \tFile containing the default x509 Certificate for HTTPS. Leave blank to disable TLS.\n  -tls-client-private-key-file string\n    \tFile containing the default x509 private key matching --tls-cert-file. Leave blank to disable TLS.\n  -token string\n    \tThe bearer token to set in the authorization header on requests. Takes predence over --token-file if set.\n  -token-file string\n    \tThe file from which to read a bearer token to set in the authorization header on requests.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobservatorium%2Fup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobservatorium%2Fup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobservatorium%2Fup/lists"}