Oleg Zaytsev

Results 34 issues of Oleg Zaytsev

See [example](https://goplay.tools/snippet/QlKnnL3wIy3): ```go package main import ( "fmt" ) func main() { fmt.Printf("%v, %[1]v, %v, %[1]v, %v\n", 1, 2, 3, 4, 5) fmt.Printf("%v, %[1]v, %v, %[3]v, %v\n", 1, 2, 3,...

See https://goplay.tools/snippet/BdzKJNbcaEM and document this.

The check fell into "this matcher equals vector selector's name" case when vector selector doesn't have a name and the matcher is an explicit matcher for an empty `__name__` label.

# Issue Upstream projects may want to render pages in different ways, applying custom branding where necessary. # Solution Allow using custom templates when instantiating the ring or memberlist.

enhancement

Follow up on https://github.com/prometheus/prometheus/pull/14096 As promised, I bring a benchmark, which shows a very small improvement if context is checked every 128 iterations of label instead of every 100. It's...

### What did you do? I ran the `mimir-prometheus` [FuzzFastRegexMatcher_WithStaticallyDefinedRegularExpressions](https://github.com/grafana/mimir-prometheus/blob/6dc8786f458cefec360e12f696c4e025db749322/model/labels/regexp_test.go#L751-L751) for a while, and found a bug. The input string `"ſſs"` is not matched by the case-insensitive regular expression `"(?i:(foo1|foo2|aaa|bbb|ccc|ddd|eee|fff|ggg|hhh|iii|lll|mmm|nnn|ooo|ppp|qqq|rrr|sss|ttt|uuu|vvv|www|xxx|yyy|zzz))",`....

kind/bug
good first issue

I saw in the profiles that a significant amount of time is spent locking the different stripes, especially when `ShardedPostings` is used, as it has to traverse all the postings...

prombench

## Description of the feature I want to run Pixelfed for my Mastodon instance users: I want them to share same handlers, and I want to completely disable all kinds...

### Context I wanted to contribute to this project, but I found myself spending a long while investigating how to set up the development environment. Even though I did some...