mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-30 21:12:02 +08:00

* feat: introduce feature_usage table to manage features * feat: introduce limit on QB alerts and dashboards
15 lines
278 B
Go
15 lines
278 B
Go
package api
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func (ah *APIHandler) getFeatureFlags(w http.ResponseWriter, r *http.Request) {
|
|
featureSet, err := ah.FF().GetFeatureFlags()
|
|
if err != nil {
|
|
ah.HandleError(w, err, http.StatusInternalServerError)
|
|
return
|
|
}
|
|
ah.Respond(w, featureSet)
|
|
}
|