Logo
Explore Help
Register Sign In
External/signoz
1
0
Fork 0
You've already forked signoz
mirror of https://github.com/SigNoz/signoz.git synced 2025-12-18 16:07:10 +00:00
Code Issues Packages Projects Releases Wiki Activity
signoz/pkg/query-service/dao/interfaces/userPreference.go

13 lines
299 B
Go
Raw Normal View History

feat: adding disable and anonymous functionality to telemetry collected (#637) * chore: changed lib * chore: changed lib * chore: changed lib * chore: changed lib * chore: changes in params * chore: changes in params * chore: moving telemetry to a separate package * feat: enabling telemetry via env var * chore: removing posthog api_key * feat: send heartbeat every 6hr * feat: enabled version in application * feat: added getter and setter apis and struct for user preferences * feat: added version to properties to event * feat: added apis to set and get user preferences and get version * chore: refactored get and set userPreferences apis to dao pattern * chore: added checks for telemetry enabled and anonymous during initialization * chore: changed anonymous user functionality * chore: sanitization * chore: added uuid for userPreferences to send when user is anonymous
2022-01-26 21:40:44 +05:30
package interfaces
import (
"context"
"go.signoz.io/query-service/model"
)
type UserPreferenceDao interface {
UpdateUserPreferece(ctx context.Context, userPreferences *model.UserPreferences) *model.ApiError
FetchUserPreference(ctx context.Context) (*model.UserPreferences, *model.ApiError)
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.6 Page: 251ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API