{"id":31904143,"url":"https://github.com/cloudfoundry-community/snotel","last_synced_at":"2025-10-13T13:47:42.734Z","repository":{"id":31315631,"uuid":"34878049","full_name":"cloudfoundry-community/snotel","owner":"cloudfoundry-community","description":"A Java based Loggregator client.","archived":false,"fork":false,"pushed_at":"2021-08-04T23:36:13.000Z","size":119,"stargazers_count":5,"open_issues_count":6,"forks_count":5,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-07-11T08:57:26.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/cloudfoundry-community.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}},"created_at":"2015-04-30T21:37:06.000Z","updated_at":"2024-02-09T14:24:30.000Z","dependencies_parsed_at":"2022-09-11T02:20:29.113Z","dependency_job_id":null,"html_url":"https://github.com/cloudfoundry-community/snotel","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cloudfoundry-community/snotel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fsnotel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fsnotel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fsnotel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fsnotel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudfoundry-community","download_url":"https://codeload.github.com/cloudfoundry-community/snotel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fsnotel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015339,"owners_count":26085685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-13T13:47:34.863Z","updated_at":"2025-10-13T13:47:42.728Z","avatar_url":"https://github.com/cloudfoundry-community.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snotel\n\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cloudfoundry-community/snotel?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nSnotel is a Java based Doppler Firehose and Metron client. Its name follows the [Loggregator]\n(https://github.com/cloudfoundry/loggregator) naming convention relating to meteorology (Doppler, Metron, NOAA, etc.) More\nimportantly, the name Snotel was derived from the\nfact that it was initially created close to the home of [the greatest snow on earth]\n(http://www.onthesnow.com/news/a/9312/utah-claims-the-greatest-snow-on-earth).\n\nSnotel is still in an early state and the API will change over time.\n\n## Firehose client\n\nThe Firehose client is built on [Netty](http://netty.io/) and [RxJava](https://github.com/ReactiveX/RxJava).\n\nAn example of using the Firehose client:\n\n```java\ntry (final Firehose firehose = FirehoseBuilder.create(\"wss://doppler.cf.teal.springapps.io:443\", \"bearer eyJh... this is not a valid token\")\n\t\t.skipTlsValidation(true)\n\t\t.build()) {\n\tfirehose\n\t\t.open()\n\t\t.toBlocking()\n\t\t.forEach(System.out::println);\n}\n```\n\n## Metron client\n\nThe Metron client can be used to emit [Dropsonde](https://github.com/cloudfoundry/dropsonde) events to Loggregator via the\nMetron agent.\n\nAn example of using the Metron client:\n\n```java\nfinal MetronClient metronClient = MetronClientBuilder\n\t\t.create(\"myorigin\")\n\t\t.build();\nmetronClient.emitValueMetric(\"application.uptime\", 1, \"s\");\nmetronClient.emitCounterEvent(\"mikes.counter\", 5);\nmetronClient.emitError(\"mikes.computer\", 54321, \"Run for the hills! It's about to blow!\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry-community%2Fsnotel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudfoundry-community%2Fsnotel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry-community%2Fsnotel/lists"}