Skip to content

Commit

Permalink
temp: staging export update
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSpiritXIII committed Jul 22, 2024
1 parent 2b1823a commit f491a43
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v4 v4.3.0
github.com/Code-Hex/go-generics-cache v1.5.1
github.com/GoogleCloudPlatform/prometheus-engine v0.13.0-rc.0.0.20240703164640-7da8e19b470f
github.com/GoogleCloudPlatform/prometheus-engine v0.13.0-rc.0.0.20240722173748-ae6e9ca1ae1a
github.com/KimMachineGun/automemlimit v0.6.1
github.com/alecthomas/kingpin/v2 v2.4.0
github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym
github.com/Code-Hex/go-generics-cache v1.5.1 h1:6vhZGc5M7Y/YD8cIUcY8kcuQLB4cHR7U+0KMqAA0KcU=
github.com/Code-Hex/go-generics-cache v1.5.1/go.mod h1:qxcC9kRVrct9rHeiYpFWSoW1vxyillCVzX13KZG8dl4=
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/GoogleCloudPlatform/prometheus-engine v0.13.0-rc.0.0.20240703164640-7da8e19b470f h1:+m5re/1j3XWOaeZWfiyeCekyw9gdrSrH1w9tJqvHe+4=
github.com/GoogleCloudPlatform/prometheus-engine v0.13.0-rc.0.0.20240703164640-7da8e19b470f/go.mod h1:sBKOjuqiJ2fHSTQj/91Z1SUqO2IZrhrBc/VvS7gYZU0=
github.com/GoogleCloudPlatform/prometheus-engine v0.13.0-rc.0.0.20240722173748-ae6e9ca1ae1a h1:teTnyindbSSxPNhKNBUcTk25FEWE2go7WMk5OXBhTVY=
github.com/GoogleCloudPlatform/prometheus-engine v0.13.0-rc.0.0.20240722173748-ae6e9ca1ae1a/go.mod h1:3egSbrdjc6D06+fk6Gx+aKM3y1DD+QEtAXt3GG3BHXM=
github.com/KimMachineGun/automemlimit v0.6.1 h1:ILa9j1onAAMadBsyyUJv5cack8Y1WT26yLj/V+ulKp8=
github.com/KimMachineGun/automemlimit v0.6.1/go.mod h1:T7xYht7B8r6AG/AqFcUdc7fzd2bIdBKmepfP2S1svPY=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
Expand Down
2 changes: 1 addition & 1 deletion scrape/scrape.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func newScrapePool(cfg *config.ScrapeConfig, app storage.Appendable, offsetSeed

// Inject target for propagation to the GCM export pipeline at the storage level.
loopCtx := gcm_export.WithMetadataFunc(ctx, func(metric string) (gcm_export.MetricMetadata, bool) {
md, ok := opts.target.Metadata(metric)
md, ok := opts.target.GetMetadata(metric)
return gcm_export.MetricMetadata(md), ok
})

Expand Down
2 changes: 1 addition & 1 deletion tsdb/head_append.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (a *initAppender) AppendCTZeroSample(ref storage.SeriesRef, lset labels.Lab
}

a.head.initTime(t)
a.app = a.head.appender()
a.app = a.head.appender(a.metadataFunc)

return a.app.AppendCTZeroSample(ref, lset, t, ct)
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ github.com/Code-Hex/go-generics-cache/policy/lfu
github.com/Code-Hex/go-generics-cache/policy/lru
github.com/Code-Hex/go-generics-cache/policy/mru
github.com/Code-Hex/go-generics-cache/policy/simple
# github.com/GoogleCloudPlatform/prometheus-engine v0.13.0-rc.0.0.20240703164640-7da8e19b470f
# github.com/GoogleCloudPlatform/prometheus-engine v0.13.0-rc.0.0.20240722173748-ae6e9ca1ae1a
## explicit; go 1.22.3
github.com/GoogleCloudPlatform/prometheus-engine/pkg/export
github.com/GoogleCloudPlatform/prometheus-engine/pkg/export/setup
Expand Down

0 comments on commit f491a43

Please sign in to comment.