mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
remove some comented code
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
This commit is contained in:
parent
5f5272e69d
commit
12de4c4a62
|
@ -57,14 +57,12 @@ func main() {
|
|||
}
|
||||
})
|
||||
|
||||
http.HandleFunc("/receiveNew", func(w http.ResponseWriter, r *http.Request) {
|
||||
http.HandleFunc("/receiveReduced", func(w http.ResponseWriter, r *http.Request) {
|
||||
req, err := remote.DecodeReducedWriteRequest(r.Body)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
// req.StringSymbolTable
|
||||
// fmt.Println("symbol table: ", req.StringSymbolTable)
|
||||
|
||||
for _, ts := range req.Timeseries {
|
||||
m := make(model.Metric, len(ts.Labels))
|
||||
|
|
|
@ -775,7 +775,6 @@ outer:
|
|||
// Start the queue manager sending samples to the remote storage.
|
||||
// Does not block.
|
||||
func (t *QueueManager) Start() {
|
||||
// panic(1)
|
||||
// Register and initialise some metrics.
|
||||
t.metrics.register()
|
||||
t.metrics.shardCapacity.Set(float64(t.cfg.Capacity))
|
||||
|
|
|
@ -132,7 +132,6 @@ func TestSampleDelivery(t *testing.T) {
|
|||
hash, err := toHash(writeConfig)
|
||||
require.NoError(t, err)
|
||||
qm := s.rws.queues[hash]
|
||||
// time.Sleep(1 * time.Second)
|
||||
|
||||
c := NewTestWriteClient()
|
||||
qm.SetClient(c)
|
||||
|
|
Loading…
Reference in a new issue