mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
* chore(dot-metrics): added log line to check for those queries who are still using normalized metrics * chore(dot-metrics): added log line to check for those queries who are still using normalized metrics * chore(dot-metrics): added log line to check for those queries who are still using normalized metrics * chore(dot-metrics): added log line to check for those queries who are still using normalized metrics * chore(dot-metrics): added log line to check for those queries who are still using normalized metrics * chore(dot-metrics): added array metrics search * chore(dot-metrics): removed regex query and added a simpler metrics in query * chore(dot-metrics): removed regex query and added a simpler metrics in query --------- Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
16 lines
369 B
Go
16 lines
369 B
Go
package model
|
|
|
|
import "encoding/json"
|
|
|
|
type MetricsNormalizedMap struct {
|
|
MetricName string `json:"metricName"`
|
|
IsUnNormalized bool `json:"isUnNormalized"`
|
|
}
|
|
|
|
func (c *MetricsNormalizedMap) MarshalBinary() (data []byte, err error) {
|
|
return json.Marshal(c)
|
|
}
|
|
func (c *MetricsNormalizedMap) UnmarshalBinary(data []byte) error {
|
|
return json.Unmarshal(data, c)
|
|
}
|