{"id":21571078,"url":"https://github.com/treblle/treblle-go-gin","last_synced_at":"2025-04-10T14:20:23.666Z","repository":{"id":45728245,"uuid":"480872767","full_name":"Treblle/treblle-go-gin","owner":"Treblle","description":"The official Treblle SDK for Go, tailored for the Gin framework. Seamlessly integrate Treblle into your Gin applications to effortlessly manage communication with your dashboard, transmit errors, and safeguard sensitive data.","archived":false,"fork":false,"pushed_at":"2024-01-25T17:17:23.000Z","size":9,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T12:56:22.608Z","etag":null,"topics":["api","api-monitoring","api-observability","backend","developer-tool","gin","gin-framework","go","golang-sdk","logging","rest-api","restful-api","sdk","treblle","treblle-sdk"],"latest_commit_sha":null,"homepage":"https://www.treblle.com/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Treblle.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}},"created_at":"2022-04-12T15:41:55.000Z","updated_at":"2023-10-15T03:04:16.000Z","dependencies_parsed_at":"2024-06-20T00:03:59.292Z","dependency_job_id":"d2030372-7827-4fbc-8a74-2604c3c3d145","html_url":"https://github.com/Treblle/treblle-go-gin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Ftreblle-go-gin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Ftreblle-go-gin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Ftreblle-go-gin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Ftreblle-go-gin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Treblle","download_url":"https://codeload.github.com/Treblle/treblle-go-gin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248233935,"owners_count":21069493,"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","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":["api","api-monitoring","api-observability","backend","developer-tool","gin","gin-framework","go","golang-sdk","logging","rest-api","restful-api","sdk","treblle","treblle-sdk"],"created_at":"2024-11-24T11:14:50.287Z","updated_at":"2025-04-10T14:20:23.645Z","avatar_url":"https://github.com/Treblle.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# treblle-go-gin\nThe offical Treblle SDK for Go using Gin\n\n\n## Installation\n\n```shell\ngo get github.com/treblle/treblle-go-gin\n```\n\nTrebble uses [Go Modules](https://github.com/golang/go/wiki/Modules) to manage dependencies.\n\n\n## Basic configuration\n\nConfigure Treblle at the start of your `main()` function:\n\n```go\nimport \"github.com/treblle/treblle-go\"\n\nfunc main() {\n\ttreblle.Configure(treblle.Configuration{\n\t\tAPIKey:     \"YOUR API KEY HERE\",\n\t\tProjectID:  \"YOUR PROJECT ID HERE\",\n\t\tKeysToMask: []string{\"password\", \"card_number\"}, // optional, mask fields you don't want sent to Treblle\n\t\tServerURL:  \"https://rocknrolla.treblle.com\",    // optional, don't use default server URL\n\t}\n\n    // rest of your program.\n}\n\n```\n\n\nAfter that, just use the middleware with any of your Gin handlers:\n ```go\nr := gin.Default()\nr.Use(treblle.GinMiddleware())\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreblle%2Ftreblle-go-gin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreblle%2Ftreblle-go-gin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreblle%2Ftreblle-go-gin/lists"}