Skip to content

Commit 66608b7

Browse files
authored
Add circuit breaker for telemetry + amend design plan to be similar to include more details on circuit breaker and config (#311)
### Changes : The changes in this PR : 1. Add config params for telemetry similar to oss jdbc 2. Add circuit breaker logic code (Note : this will be integrated at a later point in time) 3. Keep the lowest level of logging for telemetry (to keep telemetry as silent as possible) The original design doc was changed to : 1. Keep config names similar to the ones used in JDBC. 2. Add more details to circuit breaker logic. (This will be useful from a spec driven development perspective )
1 parent c4af6fa commit 66608b7

File tree

8 files changed

+1239
-98
lines changed

8 files changed

+1239
-98
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.vscode
22
.idea
3+
.claude
34

45
# Binaries for programs and plugins
56
*.exe

.golangci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ linters:
5353
# - wsl
5454

5555
linters-settings:
56+
depguard:
57+
rules:
58+
main:
59+
allow:
60+
- $gostd
61+
- github.com/databricks/databricks-sql-go
5662
gosec:
5763
exclude-generated: true
5864
severity: "low"

0 commit comments

Comments
 (0)