instana 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/instana/setup.rb +1 -0
- data/lib/instana/span_filtering/condition.rb +134 -0
- data/lib/instana/span_filtering/configuration.rb +262 -0
- data/lib/instana/span_filtering/filter_rule.rb +31 -0
- data/lib/instana/span_filtering.rb +62 -0
- data/lib/instana/trace/span.rb +5 -3
- data/lib/instana/version.rb +1 -1
- metadata +7 -258
- data/.circleci/config.yml +0 -361
- data/.codeclimate.yml +0 -23
- data/.editorconfig +0 -10
- data/.fasterer.yml +0 -23
- data/.github/ISSUE_TEMPLATE/bug.yml +0 -39
- data/.github/ISSUE_TEMPLATE/config.yml +0 -8
- data/.github/workflows/pr_commits_signed_off.yml +0 -16
- data/.github/workflows/release-notification-on-slack.yml +0 -34
- data/.gitignore +0 -19
- data/.rubocop.yml +0 -34
- data/.rubocop_todo.yml +0 -1140
- data/.tekton/.currency/docs/report.md +0 -20
- data/.tekton/.currency/resources/requirements.txt +0 -4
- data/.tekton/.currency/resources/table.json +0 -100
- data/.tekton/.currency/scripts/generate_report.py +0 -308
- data/.tekton/README.md +0 -278
- data/.tekton/github-interceptor-secret.yaml +0 -8
- data/.tekton/github-pr-eventlistener.yaml +0 -104
- data/.tekton/github-pr-pipeline.yaml.part +0 -38
- data/.tekton/github-set-status-task.yaml +0 -43
- data/.tekton/github-webhook-ingress.yaml +0 -20
- data/.tekton/pipeline.yaml +0 -484
- data/.tekton/pipelinerun.yaml +0 -21
- data/.tekton/prepuller-restart-service-account.yaml +0 -31
- data/.tekton/ruby-tracer-prepuller-cronjob.yaml +0 -20
- data/.tekton/ruby-tracer-prepuller.yaml +0 -88
- data/.tekton/run_unittests.sh +0 -87
- data/.tekton/scheduled-eventlistener.yaml +0 -108
- data/.tekton/task.yaml +0 -453
- data/.tekton/tekton-triggers-eventlistener-serviceaccount.yaml +0 -29
- data/Appraisals +0 -124
- data/CONTRIBUTING.md +0 -86
- data/Gemfile +0 -22
- data/LICENSE +0 -22
- data/MAINTAINERS.md +0 -3
- data/Rakefile +0 -49
- data/bin/announce_release_on_slack.py +0 -103
- data/docker-compose.yml +0 -20
- data/download.sh +0 -85
- data/examples/otel.rb +0 -98
- data/examples/tracing.rb +0 -85
- data/extras/license_header.rb +0 -44
- data/gemfiles/.bundle/config +0 -2
- data/gemfiles/aws_30.gemfile +0 -21
- data/gemfiles/aws_60.gemfile +0 -16
- data/gemfiles/cuba_30.gemfile +0 -16
- data/gemfiles/cuba_40.gemfile +0 -13
- data/gemfiles/dalli_20.gemfile +0 -15
- data/gemfiles/dalli_30.gemfile +0 -12
- data/gemfiles/dalli_32.gemfile +0 -12
- data/gemfiles/excon_0100.gemfile +0 -14
- data/gemfiles/excon_021.gemfile +0 -17
- data/gemfiles/excon_079.gemfile +0 -17
- data/gemfiles/excon_100.gemfile +0 -14
- data/gemfiles/graphql_10.gemfile +0 -16
- data/gemfiles/graphql_20.gemfile +0 -15
- data/gemfiles/grpc_10.gemfile +0 -15
- data/gemfiles/mongo_216.gemfile +0 -15
- data/gemfiles/mongo_219.gemfile +0 -12
- data/gemfiles/net_http_01.gemfile +0 -17
- data/gemfiles/rack_16.gemfile +0 -15
- data/gemfiles/rack_20.gemfile +0 -15
- data/gemfiles/rack_30.gemfile +0 -13
- data/gemfiles/rails_42.gemfile +0 -18
- data/gemfiles/rails_50.gemfile +0 -19
- data/gemfiles/rails_52.gemfile +0 -19
- data/gemfiles/rails_60.gemfile +0 -19
- data/gemfiles/rails_61.gemfile +0 -21
- data/gemfiles/rails_70.gemfile +0 -18
- data/gemfiles/rails_71.gemfile +0 -17
- data/gemfiles/rails_80.gemfile +0 -17
- data/gemfiles/redis_40.gemfile +0 -15
- data/gemfiles/redis_50.gemfile +0 -13
- data/gemfiles/redis_51.gemfile +0 -13
- data/gemfiles/resque_122.gemfile +0 -16
- data/gemfiles/resque_1274_3scale.gemfile +0 -17
- data/gemfiles/resque_20.gemfile +0 -16
- data/gemfiles/rest_client_16.gemfile +0 -17
- data/gemfiles/rest_client_20.gemfile +0 -17
- data/gemfiles/roda_20.gemfile +0 -16
- data/gemfiles/roda_30.gemfile +0 -16
- data/gemfiles/rubocop_162.gemfile +0 -6
- data/gemfiles/sequel_56.gemfile +0 -16
- data/gemfiles/sequel_57.gemfile +0 -16
- data/gemfiles/sequel_58.gemfile +0 -16
- data/gemfiles/shoryuken_50.gemfile +0 -16
- data/gemfiles/shoryuken_60.gemfile +0 -13
- data/gemfiles/sidekiq_42.gemfile +0 -15
- data/gemfiles/sidekiq_50.gemfile +0 -15
- data/gemfiles/sidekiq_60.gemfile +0 -12
- data/gemfiles/sidekiq_65.gemfile +0 -12
- data/gemfiles/sidekiq_70.gemfile +0 -12
- data/gemfiles/sinatra_14.gemfile +0 -15
- data/gemfiles/sinatra_22.gemfile +0 -12
- data/gemfiles/sinatra_30.gemfile +0 -12
- data/gemfiles/sinatra_40.gemfile +0 -12
- data/instana.gemspec +0 -53
- data/log/.keep +0 -0
- data/sonar-project.properties +0 -9
- data/test/activator_test.rb +0 -50
- data/test/backend/agent_test.rb +0 -80
- data/test/backend/gc_snapshot_test.rb +0 -11
- data/test/backend/host_agent_activation_observer_test.rb +0 -73
- data/test/backend/host_agent_lookup_test.rb +0 -78
- data/test/backend/host_agent_reporting_observer_test.rb +0 -276
- data/test/backend/host_agent_test.rb +0 -89
- data/test/backend/process_info_test.rb +0 -83
- data/test/backend/request_client_test.rb +0 -39
- data/test/backend/serverless_agent_test.rb +0 -83
- data/test/benchmarks/bench_id_generation.rb +0 -15
- data/test/benchmarks/bench_opentracing.rb +0 -16
- data/test/config_test.rb +0 -34
- data/test/frameworks/cuba_test.rb +0 -61
- data/test/frameworks/roda_test.rb +0 -60
- data/test/frameworks/sinatra_test.rb +0 -71
- data/test/instana_test.rb +0 -37
- data/test/instrumentation/aws_test.rb +0 -241
- data/test/instrumentation/dalli_test.rb +0 -325
- data/test/instrumentation/excon_test.rb +0 -204
- data/test/instrumentation/graphql_test.rb +0 -289
- data/test/instrumentation/grpc_test.rb +0 -420
- data/test/instrumentation/mongo_test.rb +0 -68
- data/test/instrumentation/net_http_test.rb +0 -220
- data/test/instrumentation/rack_instrumented_request_test.rb +0 -211
- data/test/instrumentation/rack_test.rb +0 -415
- data/test/instrumentation/rails_action_cable_test.rb +0 -135
- data/test/instrumentation/rails_action_controller_test.rb +0 -218
- data/test/instrumentation/rails_action_mailer_test.rb +0 -66
- data/test/instrumentation/rails_action_view_test.rb +0 -154
- data/test/instrumentation/rails_active_job_test.rb +0 -65
- data/test/instrumentation/rails_active_record_database_missing_test.rb +0 -44
- data/test/instrumentation/rails_active_record_test.rb +0 -116
- data/test/instrumentation/redis_test.rb +0 -152
- data/test/instrumentation/resque_test.rb +0 -188
- data/test/instrumentation/rest_client_test.rb +0 -106
- data/test/instrumentation/sequel_test.rb +0 -111
- data/test/instrumentation/shoryuken_test.rb +0 -47
- data/test/instrumentation/sidekiq-client_test.rb +0 -169
- data/test/instrumentation/sidekiq-worker_test.rb +0 -180
- data/test/secrets_test.rb +0 -112
- data/test/serverless_test.rb +0 -369
- data/test/snapshot/deltable_test.rb +0 -17
- data/test/snapshot/docker_container_test.rb +0 -82
- data/test/snapshot/fargate_container_test.rb +0 -82
- data/test/snapshot/fargate_process_test.rb +0 -35
- data/test/snapshot/fargate_task_test.rb +0 -49
- data/test/snapshot/google_cloud_run_instance_test.rb +0 -74
- data/test/snapshot/google_cloud_run_process_test.rb +0 -33
- data/test/snapshot/lambda_function_test.rb +0 -37
- data/test/snapshot/ruby_process_test.rb +0 -32
- data/test/support/apps/active_record/active_record.rb +0 -24
- data/test/support/apps/grpc/boot.rb +0 -23
- data/test/support/apps/grpc/grpc_server.rb +0 -84
- data/test/support/apps/http_endpoint/boot.rb +0 -28
- data/test/support/apps/rails/boot.rb +0 -219
- data/test/support/apps/rails/models/block.rb +0 -21
- data/test/support/apps/rails/models/block6.rb +0 -21
- data/test/support/apps/resque/boot.rb +0 -5
- data/test/support/apps/resque/jobs/resque_error_job.rb +0 -22
- data/test/support/apps/resque/jobs/resque_fast_job.rb +0 -23
- data/test/support/apps/sidekiq/boot.rb +0 -25
- data/test/support/apps/sidekiq/jobs/sidekiq_job_1.rb +0 -9
- data/test/support/apps/sidekiq/jobs/sidekiq_job_2.rb +0 -10
- data/test/support/apps/sidekiq/worker.rb +0 -37
- data/test/support/helpers.rb +0 -85
- data/test/support/mock_timer.rb +0 -20
- data/test/test_helper.rb +0 -69
- data/test/trace/custom_test.rb +0 -233
- data/test/trace/id_management_test.rb +0 -78
- data/test/trace/instrumented_logger_test.rb +0 -39
- data/test/trace/processor_test.rb +0 -58
- data/test/trace/span_context_test.rb +0 -22
- data/test/trace/span_test.rb +0 -179
- data/test/trace/tracer_async_test.rb +0 -243
- data/test/trace/tracer_provider_test.rb +0 -148
- data/test/trace/tracer_test.rb +0 -363
- data/test/util_test.rb +0 -10
data/.fasterer.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
speedups:
|
2
|
-
rescue_vs_respond_to: true
|
3
|
-
module_eval: true
|
4
|
-
shuffle_first_vs_sample: true
|
5
|
-
for_loop_vs_each: true
|
6
|
-
each_with_index_vs_while: false
|
7
|
-
map_flatten_vs_flat_map: true
|
8
|
-
reverse_each_vs_reverse_each: true
|
9
|
-
select_first_vs_detect: true
|
10
|
-
sort_vs_sort_by: true
|
11
|
-
fetch_with_argument_vs_block: true
|
12
|
-
keys_each_vs_each_key: true
|
13
|
-
hash_merge_bang_vs_hash_brackets: true
|
14
|
-
block_vs_symbol_to_proc: true
|
15
|
-
proc_call_vs_yield: true
|
16
|
-
gsub_vs_tr: true
|
17
|
-
select_last_vs_reverse_detect: true
|
18
|
-
getter_vs_attr_reader: true
|
19
|
-
setter_vs_attr_writer: true
|
20
|
-
|
21
|
-
exclude_paths:
|
22
|
-
- 'vendor/**/*.rb'
|
23
|
-
- 'db/schema.rb'
|
@@ -1,39 +0,0 @@
|
|
1
|
-
name: Bug Report
|
2
|
-
description: File a bug report
|
3
|
-
title: "[Bug]: "
|
4
|
-
labels: [bug]
|
5
|
-
body:
|
6
|
-
- type: markdown
|
7
|
-
attributes:
|
8
|
-
value: |
|
9
|
-
Thank you for taking the time to fill out this report. Remember that these issues are public and if you need to discuss implementation specific issues securely, please [use our support portal](https://www.ibm.com/mysupport).
|
10
|
-
- type: textarea
|
11
|
-
id: problem-description
|
12
|
-
attributes:
|
13
|
-
label: Problem Description
|
14
|
-
description: What was the issue that caused you to file this bug?
|
15
|
-
validations:
|
16
|
-
required: true
|
17
|
-
- type: textarea
|
18
|
-
id: mcve
|
19
|
-
attributes:
|
20
|
-
label: Minimal, Complete, Verifiable, Example
|
21
|
-
description: Can you provide steps needed to reproduce this issue outside of your application?
|
22
|
-
validations:
|
23
|
-
required: false
|
24
|
-
- type: textarea
|
25
|
-
id: gemfile-lock
|
26
|
-
attributes:
|
27
|
-
label: Gemfile.lock
|
28
|
-
description: Please paste the contents of the Gemfile.lock for the application that was affected by this bug.
|
29
|
-
render: shell
|
30
|
-
validations:
|
31
|
-
required: true
|
32
|
-
- type: textarea
|
33
|
-
id: ruby-version
|
34
|
-
attributes:
|
35
|
-
label: Ruby Version
|
36
|
-
description: What version of Ruby was the application running under when it encountered this bug?
|
37
|
-
render: shell
|
38
|
-
validations:
|
39
|
-
required: true
|
@@ -1,8 +0,0 @@
|
|
1
|
-
blank_issues_enabled: false
|
2
|
-
contact_links:
|
3
|
-
- name: Instana Support Portal
|
4
|
-
url: https://www.ibm.com/mysupport
|
5
|
-
about: Please ask questions related to your installation there.
|
6
|
-
- name: Feature Requests
|
7
|
-
 url: https://automation-management.ideas.ibm.com/?project=INSTANA
|
8
|
-
 about: Please file feature requests there (or search for existing requests and vote for them). Do not use Github issues for feature requests.
|
@@ -1,16 +0,0 @@
|
|
1
|
-
name: Find signed commits
|
2
|
-
on:
|
3
|
-
pull_request_target:
|
4
|
-
branches:
|
5
|
-
- master # or the name of your main branch
|
6
|
-
jobs:
|
7
|
-
check-sign-off:
|
8
|
-
name: Write comment if unsigned commits found
|
9
|
-
env:
|
10
|
-
FORCE_COLOR: 1
|
11
|
-
runs-on: ubuntu-latest
|
12
|
-
|
13
|
-
steps:
|
14
|
-
- uses: live627/check-pr-signoff-action@v1
|
15
|
-
with:
|
16
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
name: Slack Post
|
2
|
-
on:
|
3
|
-
workflow_dispatch: # Manual trigger
|
4
|
-
inputs:
|
5
|
-
github_ref:
|
6
|
-
description: 'Manually provided value for GITHUB_RELEASE_TAG of a release'
|
7
|
-
required: true
|
8
|
-
type: string
|
9
|
-
|
10
|
-
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
|
11
|
-
release:
|
12
|
-
types: [published]
|
13
|
-
jobs:
|
14
|
-
build:
|
15
|
-
name: Slack Post
|
16
|
-
runs-on: ubuntu-latest
|
17
|
-
steps:
|
18
|
-
- name: 'Checkout the needed file only ./bin/announce_release_on_slack.py'
|
19
|
-
uses: actions/checkout@v3
|
20
|
-
- run: |
|
21
|
-
if [[ ${{ github.event_name == 'workflow_dispatch' }} == true ]]; then
|
22
|
-
export GITHUB_RELEASE_TAG=${{ inputs.github_ref }}
|
23
|
-
else # release event
|
24
|
-
export GITHUB_RELEASE_TAG=$(basename ${GITHUB_REF})
|
25
|
-
fi
|
26
|
-
echo "New release published ${GITHUB_RELEASE_TAG}"
|
27
|
-
pip3 install PyGithub
|
28
|
-
echo $PWD
|
29
|
-
ls -lah
|
30
|
-
./bin/announce_release_on_slack.py
|
31
|
-
env:
|
32
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
33
|
-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
|
34
|
-
SLACK_CHANNEL_ID_RELEASES: ${{ secrets.SLACK_CHANNEL_ID_RELEASES }}
|
data/.gitignore
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
/.bundle/
|
2
|
-
/.yardoc
|
3
|
-
/Gemfile.lock
|
4
|
-
/_yardoc/
|
5
|
-
/coverage/
|
6
|
-
/doc/
|
7
|
-
/pkg/
|
8
|
-
/spec/reports/
|
9
|
-
/tmp/
|
10
|
-
/log/
|
11
|
-
.ruby-version
|
12
|
-
gemfiles/*.lock
|
13
|
-
/test/tmp/*.pid
|
14
|
-
.idea
|
15
|
-
*.iml
|
16
|
-
.DS_Store
|
17
|
-
vendor/bundle
|
18
|
-
gemfiles/vendor/bundle
|
19
|
-
*.log
|
data/.rubocop.yml
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
2
|
-
|
3
|
-
require:
|
4
|
-
- ./extras/license_header.rb
|
5
|
-
|
6
|
-
# Remove when we remove .rubocop_todo.yml
|
7
|
-
AllCops:
|
8
|
-
NewCops: disable
|
9
|
-
|
10
|
-
Metrics/PerceivedComplexity:
|
11
|
-
Max: 20
|
12
|
-
|
13
|
-
# Broken on 1.9
|
14
|
-
Style/HashSyntax:
|
15
|
-
Enabled: false
|
16
|
-
|
17
|
-
Style/EvalWithLocation:
|
18
|
-
Enabled: false
|
19
|
-
|
20
|
-
Style/NilComparison:
|
21
|
-
Enabled: false
|
22
|
-
|
23
|
-
Style/SoleNestedConditional:
|
24
|
-
Enabled: false
|
25
|
-
|
26
|
-
# Ruby 2.1 compatibility
|
27
|
-
Style/SafeNavigation:
|
28
|
-
Enabled: false
|
29
|
-
|
30
|
-
Style/SymbolProc:
|
31
|
-
Enabled: false
|
32
|
-
|
33
|
-
Style/MultilineBlockChain:
|
34
|
-
Enabled: false
|