{"id":30203226,"url":"https://github.com/coralogix/sdk-java-example","last_synced_at":"2025-08-13T12:00:31.527Z","repository":{"id":94858164,"uuid":"451176250","full_name":"coralogix/sdk-java-example","owner":"coralogix","description":"Example project with usage of Coralogix Java SDK.","archived":false,"fork":false,"pushed_at":"2025-06-19T15:11:21.000Z","size":14,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-06-19T16:27:03.586Z","etag":null,"topics":["coralogix","java","logging"],"latest_commit_sha":null,"homepage":"https://coralogix.com/integrations/coralogix-java-integration/","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/coralogix.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-01-23T17:19:35.000Z","updated_at":"2025-06-19T15:11:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"c710548a-335f-4465-ad28-16b281ce996e","html_url":"https://github.com/coralogix/sdk-java-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coralogix/sdk-java-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coralogix%2Fsdk-java-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coralogix%2Fsdk-java-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coralogix%2Fsdk-java-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coralogix%2Fsdk-java-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coralogix","download_url":"https://codeload.github.com/coralogix/sdk-java-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coralogix%2Fsdk-java-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270236346,"owners_count":24550199,"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-08-13T02:00:09.904Z","response_time":66,"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":["coralogix","java","logging"],"created_at":"2025-08-13T12:00:07.304Z","updated_at":"2025-08-13T12:00:31.463Z","avatar_url":"https://github.com/coralogix.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coralogix Java SDK sample project\n## This code is deprecated and will be removed in August 4, please use otel [java sdk instead](https://opentelemetry.io/docs/languages/java/)\n\nThis is a sample project which demonstrates the example of usage of [Coralogix Java SDK](https://mvnrepository.com/artifact/com.coralogix.sdk/coralogix-sdk).\n\n## Prerequisites\n\n* **JDK** 8+\n* **JRE** 8+\n* **Maven** 3.x\n\n## Build\n\nThe main application code is presented in `com.coralogix.sdk.ExampleApp` class.\n\nTo build the project you need to execute the following command:\n\n```bash\nmvn package\n```\n\nAfter compilation you will have `target/` folder which will contain the `.jar` file with the test application.\n\n## Run\n\nTo run the package you need to execute the following command:\n\n```bash\nexport CORALOGIX_PRIVATE_KEY=\"YOUR_CORALOGIX_PRIVATE_KEY\"\n\njava -jar target/coralogix-sdk-example-1.0-SNAPSHOT.jar\n```\n\n## Extend\n\nTo use **Coralogix Java SDK** in your application you should add the appropriate dependency to your `pom.xml` file:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.coralogix.sdk\u003c/groupId\u003e\n    \u003cartifactId\u003ecoralogix-sdk\u003c/artifactId\u003e\n    \u003cversion\u003e2.0.x\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nwhere `2.0.x` should be replaced with the latest version from the [Maven](https://mvnrepository.com/artifact/com.coralogix.sdk/coralogix-sdk) repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoralogix%2Fsdk-java-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoralogix%2Fsdk-java-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoralogix%2Fsdk-java-example/lists"}