* [DOC] update links to tempo-operator API docs
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
* update page title to Reference
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
---------
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
* Updates for caching doc and linting fixes
* Apply suggestions from code review
Co-authored-by: Joe Elliott <joe.elliott@grafana.com>
---------
Co-authored-by: Joe Elliott <joe.elliott@grafana.com>
* Add replication factor to block meta
* Refactor CreateWAL func
* chlog
* Fixes
* Add data encoding to WAL constructor
* Implement in vParquet4
* Different fixes
* Add test and fix cutting traces
* Fixed multiple typos
* The limit is short and causes the 'test integration e2e suite' to fail
* The limit is short and causes the 'test integration e2e suite' to fail
* Update _index.md
Reverted the change
My mistake
* Update linux.md
Reverted the other change
My mistake
* Update tempo-distributed-a.yaml
Reverted the other change
My mistake
* Update tempo-distributed-b.yaml
Reverted the other change
My mistake
* Update tempo-distributed.yaml
Reverted the other change
My mistake
* Update tempo-distributed.yaml
Reverted the other change
My mistake
* Update tempo-distributed.yaml
Reverted the other change
My mistake
* Update tempo-distributed.yaml
Reverted the other change
My mistake
* Update tempo-distributed.yaml
Reverted the other change
My mistake
* Update tempo.yaml
Reverted the other change
My mistake
* Update tempo-scalable-single-binary.yaml
Reverted the other change
My mistake
* Update backend.go
Reverted the other change
My mistake
* Update tempo.yaml
Reverted the other change
My mistake
* Update azure_test.go
Reverted the other change
My mistake
* Update search_sharder_test.go
Reverted the other change
My mistake
* Update tempo-distributed.yaml
Reverted the other change
My mistake
* Update tempo-distributed.yaml
Reverted the other change
My mistake
* Reverted the other change
* Fixed multiple typos
* The limit is short and causes the 'test integration e2e suite' to fail
* Update config-limits-partial-success.yaml
Sent it in another PR
* steal benches
Signed-off-by: Joe Elliott <number101010@gmail.com>
* Gen floats, ints and bool predicates
Signed-off-by: Joe Elliott <number101010@gmail.com>
* remove string allocs
Signed-off-by: Joe Elliott <number101010@gmail.com>
* added gen to make
Signed-off-by: Joe Elliott <number101010@gmail.com>
* Gen strings
Signed-off-by: Joe Elliott <number101010@gmail.com>
* patch up vp2 and vp4
Signed-off-by: Joe Elliott <number101010@gmail.com>
* remove instrumented predicate
Signed-off-by: Joe Elliott <number101010@gmail.com>
* int32 rns
Signed-off-by: Joe Elliott <number101010@gmail.com>
* skip nulls
Signed-off-by: Joe Elliott <number101010@gmail.com>
* vp4 unsafe string
Signed-off-by: Joe Elliott <number101010@gmail.com>
* revert isnull check due to impact on query range
Signed-off-by: Joe Elliott <number101010@gmail.com>
* remove string range cond
Signed-off-by: Joe Elliott <number101010@gmail.com>
* changelog
Signed-off-by: Joe Elliott <number101010@gmail.com>
* lint and tests
Signed-off-by: Joe Elliott <number101010@gmail.com>
* exclude
Signed-off-by: Joe Elliott <number101010@gmail.com>
* again
Signed-off-by: Joe Elliott <number101010@gmail.com>
* fix second line
Signed-off-by: Joe Elliott <number101010@gmail.com>
* fix bool pred
Signed-off-by: Joe Elliott <number101010@gmail.com>
* change generated file name and exclude
Signed-off-by: Joe Elliott <number101010@gmail.com>
* additional tests
Signed-off-by: Joe Elliott <number101010@gmail.com>
---------
Signed-off-by: Joe Elliott <number101010@gmail.com>
* Pin the goreleaser version for Go version support
Without this change, goreleaser@latest requires a newer version of Go
than is currently supported by the project. Here we pin the version.
* Pin the version of the tools image
* Update opentelemetry-proto submodule to v1.3.0
* Generate proto
* Populate scope attributes
* Mention breaking change in CHANGELOG.md
* Run make check-fmt
* Add lang/parser support for quantile_over_time, fix missing stringify of metrics and hints
* First working draft of quantile_over_time implementation
* Validate the query in the frontend
* Histogram accumulate jobs by bucket as they come in instead of at the end. Refactor label handling to be shared. Validate quantiles, support quantile_over_time by any integer attribute
* Fix language definition to allow both floats or ints for quantiles
* Remove layer of proto->seriesset conversion. Fix roundtrip of __bucket label
* Rename to SimpleAdditionCombiner, slight interval calc cleanup
* Fix p0 returning 1 instead of minimum value, comments cleanup
* Rename frontend param and fix handling of ints
* Fix pre-existing bug in metrics optimization when asserting multiple conditions on the same attribute
* Fix to support 3 flavors of the metrics pipeline: query-frontend, across blocks, and across generators. Error handling, move code around
* Update query_range frontend test for new behavior
* Consolidate histogram code between traceql and traceqlmetrics. quantile_over_time test, code cleanup
* lint
* changelog
* histogram_over_time
* Redo histograms to set __bucket label to the actual value instead of log2, for several reasons: support non-log2 or native histogram buckets in the future, and where queriers on different versions may have different buckets during rollout
* Revert all changes to traceqlmetrics package, was getting too noisy
* Fix after merge
* lint
* changelog
* Add test for histogram_over_time
* Change quantile_over_time test to use more exported methods
In #3584 we decided to count metrics queries as part of search slo.
split metrics slo out of search because metrics are still experimental and should not share the SLO with search.
* fix(traceql): fix extract matcher regexes to work with regexp-type matchers
Partially fixes#3635.
I'm going to add a further test case which this doesn't fix.
* Add more test cases for extract matcher
* Add CHANGELOG entry
* test deb stuff
* more stuff
* create /var/tempo and assign perms
* Create and assign permissions of /var/tempo after creating user
* More precise dir perms
* whitespace
* changelog
* Update vendor for semconv updates
* Align OTEL semconv package to v1.25.0
* Update serverless go.mod
* Add a quick explicit test for semconv keys servicegraphs rely on
* Add lang/parser support for quantile_over_time, fix missing stringify of metrics and hints
* First working draft of quantile_over_time implementation
* Validate the query in the frontend
* Histogram accumulate jobs by bucket as they come in instead of at the end. Refactor label handling to be shared. Validate quantiles, support quantile_over_time by any integer attribute
* Fix language definition to allow both floats or ints for quantiles
* Remove layer of proto->seriesset conversion. Fix roundtrip of __bucket label
* Rename to SimpleAdditionCombiner, slight interval calc cleanup
* Fix p0 returning 1 instead of minimum value, comments cleanup
* Rename frontend param and fix handling of ints
* Fix pre-existing bug in metrics optimization when asserting multiple conditions on the same attribute
* Fix to support 3 flavors of the metrics pipeline: query-frontend, across blocks, and across generators. Error handling, move code around
* Update query_range frontend test for new behavior
* Consolidate histogram code between traceql and traceqlmetrics. quantile_over_time test, code cleanup
* lint
* changelog
* Redo histograms to set __bucket label to the actual value instead of log2, for several reasons: support non-log2 or native histogram buckets in the future, and where queriers on different versions may have different buckets during rollout
* Revert all changes to traceqlmetrics package, was getting too noisy
* remove keep
Signed-off-by: Joe Elliott <number101010@gmail.com>
* null test
Signed-off-by: Joe Elliott <number101010@gmail.com>
* remove attr
Signed-off-by: Joe Elliott <number101010@gmail.com>
* consolidate
Signed-off-by: Joe Elliott <number101010@gmail.com>
* dont sent 2x
Signed-off-by: Joe Elliott <number101010@gmail.com>
* port to vp4
Signed-off-by: Joe Elliott <number101010@gmail.com>
* changelog
Signed-off-by: Joe Elliott <number101010@gmail.com>
* fix wal
Signed-off-by: Joe Elliott <number101010@gmail.com>
---------
Signed-off-by: Joe Elliott <number101010@gmail.com>
* Add DescendantOf Tests
Signed-off-by: Joe Elliott <number101010@gmail.com>
* Add tests for basic functionality
Signed-off-by: Joe Elliott <number101010@gmail.com>
* Add to language
Signed-off-by: Joe Elliott <number101010@gmail.com>
* add structural support for union
Signed-off-by: Joe Elliott <number101010@gmail.com>
* DescendantOf
Signed-off-by: Joe Elliott <number101010@gmail.com>
* SiblingOf
Signed-off-by: Joe Elliott <number101010@gmail.com>
* improved tests. built common structures
Signed-off-by: Joe Elliott <number101010@gmail.com>
* fix siblingOf many to many and own sibling
Signed-off-by: Joe Elliott <number101010@gmail.com>
* integration tests + fixes
Signed-off-by: Joe Elliott <number101010@gmail.com>
* Moved descendantOf union and siblingOf to the same loop
Signed-off-by: Joe Elliott <number101010@gmail.com>
* rewrite union descendantOf to avoid pathological cases
Signed-off-by: Joe Elliott <number101010@gmail.com>
* tests, benches, and fixes
Signed-off-by: Joe Elliott <number101010@gmail.com>
* handle dupe slices
Signed-off-by: Joe Elliott <number101010@gmail.com>
* cleanup and tests
Signed-off-by: Joe Elliott <number101010@gmail.com>
* vp3 -> vp2
Signed-off-by: Joe Elliott <number101010@gmail.com>
* docs
Signed-off-by: Joe Elliott <number101010@gmail.com>
* benchmarks
Signed-off-by: Joe Elliott <number101010@gmail.com>
* revert non-union implementations due to inconsistent benches
Signed-off-by: Joe Elliott <number101010@gmail.com>
* lint
Signed-off-by: Joe Elliott <number101010@gmail.com>
* lint
Signed-off-by: Joe Elliott <number101010@gmail.com>
* wip: refactor
Signed-off-by: Joe Elliott <number101010@gmail.com>
* refactor to put union first
Signed-off-by: Joe Elliott <number101010@gmail.com>
* Update docs/sources/tempo/traceql/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Update docs/sources/tempo/traceql/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* port to vp4
Signed-off-by: Joe Elliott <number101010@gmail.com>
* param cleanup
Signed-off-by: Joe Elliott <number101010@gmail.com>
---------
Signed-off-by: Joe Elliott <number101010@gmail.com>
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Copy vparquet3 to vparquet4 folder
* Create initial vParquet4 encoding
* vParquet4: handle unsupported / dropped attributes (#3123)
* Count dropped attributes and store them in separate column
* Remove current support for arrays and kv-lists
* Store per-trace service statistics in vparquet4 blocks (#2941)
* Add support for attributes with array values (#3221)
* Implement single values as arrays and introduce type column
* Add support for array attributes
* Tests more array values and fix attribute conversion
* Use a combination of snappy and delta for ValueType
* Vendor module google/go-cmp/cmp/cmpopts
* Use all types of array attributes in TestTraceToParquet
* Improve TestFieldsAreCleared
* links and events schema changes (#3163)
* Add attributes to instrumentation scope (#3322)
* Fix typo in vParquet4 event name enconding (#3336)
* Precalculate and reuse the vParquet4 schema before opening blocks
* Convert block in vparquet4/test-data directory
* CHANGELOG.md
* Update test cases in BenchmarkBackendBlockTraceQL
* Unsupported attribute values are no longer dropped
* Replace ValueType column with IsArray column
* Skip service stats map allocation when none are present
---------
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Co-authored-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Co-authored-by: Jennie Pham <94262131+ie-pham@users.noreply.github.com>
Co-authored-by: Andreas Gerstmayr <andreas@gerstmayr.me>
* change for loop
* Dynamic reordering of iterators
* fix regression on complex query by peeking all iters at start and exiting early
* Add new complex query test
* move test
* Extend backend.Reader with Find() function
* Extend backend.Writer with Delete() function
* Add EmptyTenantDeletion age config to tempodb
* Add delete handling to poller
* Add integration tests for poller change
* Update backend implementations
* Fix lint
* Setup test defaults
* Integrate prefix test permutations
* Add doc for the new configuration option
* Update changelog
* Fix local implementation to ignore directories
* Tidy up todo after test coverage
* Update docs/sources/tempo/configuration/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Address some PR feedback
* Rename backend.FindOpts -> backend.FindMatch
* Adjust default delete time from 20m -> 12h
* Add log message for object deletion
* Add additional safety check to avoid deletion
* Add test default value
* Godoc update after rename
* Drop logging from the backend used for testing
* Require empty tenant deletion to be enabled in the config
* Add docs for _enabled config
---------
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* introduce new service-graph metric for messaging-system latency
* added tests for new histogram values
* fix linting
* make new metric optional via config
* fix typo
* fix failing tests
* add feature to changelog
* negative times diff consistency - return 0 instead of negative
* update docs
* Update docs/sources/tempo/metrics-generator/service_graphs/estimate-cardinality.md
use present when possible
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* change 1e9 to time const
* added a reference to the "wait" config of the processor
* fixed indentations and formatting stuff from rebasing
* removed mistaken println found by linter
---------
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* Surface new labels for uninstrumented services and systems
* Update CHANGELOG.md
* remove unnecessary Println in test
* Reuse dimensions and prefixes for this use-case
* Add docs
* keep only virtual_node behind the new feature
* add overrides
* Update docs/sources/tempo/metrics-generator/service_graphs/_index.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* forgot this test (fixed)
* add benchmarks
* add edge pooling/reuse
* update flag
* move label out of dimensions to avoid prefix logic
* lint
* Update modules/generator/processor/servicegraphs/config.go
Co-authored-by: Mario <mariorvinas@gmail.com>
* minor amends to names and docs
* leave the new virtual_node label as an extra dimension
* keep edge sync.Pool ops inside store
* Update modules/generator/processor/servicegraphs/store/store.go
The edge is not expired here, so it shouldn't be returned to the pool.
Co-authored-by: Mario <mariorvinas@gmail.com>
* leave the new label un-prefixed
---------
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
Co-authored-by: Mario <mariorvinas@gmail.com>