├── .github └── workflows │ └── statsbit.yml ├── LICENSE ├── Readme.md ├── backend ├── .dir-locals.el ├── .gitignore ├── build │ ├── .dockerignore │ ├── Dockerfile │ ├── newrelic.jar │ └── newrelic.yml ├── deps.edn ├── dev │ └── user.clj ├── external │ └── docker-compose.yml ├── jars │ └── newrelic-api.jar ├── notes │ ├── bench.sql │ ├── mixed.sql │ ├── notes.md │ ├── notes_new.md │ ├── schema_v1.sql │ ├── schema_v1_brin.sql │ ├── schema_v1_cstore.sql │ ├── schema_v2.sql │ ├── schema_v2_cstore.sql │ ├── schema_v3.sql │ ├── schema_v4.sql │ └── timescaledb.sql ├── resources │ ├── config.edn │ └── db │ │ └── migration │ │ ├── common │ │ ├── R__analytic_event_data_views.sql │ │ ├── R__apps_procs.sql │ │ ├── R__error_data_views.sql │ │ ├── R__keys_procs.sql │ │ ├── R__metric_data_views.sql │ │ ├── R__servers_procs.sql │ │ ├── R__transaction_sample_data_views.sql │ │ ├── R__transactions_procs.sql │ │ ├── V1__apps.sql │ │ ├── V2__servers.sql │ │ ├── V3__keys.sql │ │ ├── V4__transactions.sql │ │ ├── V5.0__metric_data.sql │ │ ├── V6.0__transaction_sample_data.sql │ │ ├── V7.0__analytic_event_data.sql │ │ └── V8.0__error_data.sql │ │ ├── prod_server_1.x │ │ └── R__timescale_settings.sql │ │ ├── prod_server_2.x │ │ └── R__timescale_settings.sql │ │ ├── test_server_1.x │ │ └── R__timescale_settings.sql │ │ ├── test_server_2.x │ │ └── R__timescale_settings.sql │ │ ├── timescale_1.x │ │ ├── V5.1__metric_data.sql │ │ ├── V6.1__transaction_sample_data.sql │ │ ├── V7.1__analytic_event_data.sql │ │ └── V8.1__error_data.sql │ │ └── timescale_2.x │ │ ├── V5.1__metric_data.sql │ │ ├── V6.1__transaction_sample_data.sql │ │ ├── V7.1__analytic_event_data.sql │ │ └── V8.1__error_data.sql ├── src │ └── ru │ │ └── bia_tech │ │ └── statsbit │ │ ├── commands │ │ ├── analytic_event_data.clj │ │ ├── analytic_event_data.sql │ │ ├── connect.clj │ │ ├── connect.sql │ │ ├── error_data.clj │ │ ├── error_data.sql │ │ ├── metric_data.clj │ │ ├── metric_data.sql │ │ ├── transaction_sample_data.clj │ │ └── transaction_sample_data.sql │ │ ├── components │ │ ├── config.clj │ │ ├── context.clj │ │ ├── data_source.clj │ │ ├── handler.clj │ │ ├── jetty.clj │ │ └── sentry.clj │ │ ├── config.clj │ │ ├── context.clj │ │ ├── hooks.clj │ │ ├── http │ │ ├── agent.clj │ │ └── handler.clj │ │ ├── init.clj │ │ ├── main.clj │ │ ├── migration.clj │ │ ├── renderers │ │ └── transaction_sample.clj │ │ ├── system.clj │ │ ├── types.clj │ │ └── utils │ │ ├── agent_id.clj │ │ ├── component.clj │ │ ├── sentry.clj │ │ └── time.clj └── test │ └── ru │ └── bia_tech │ └── statsbit │ ├── http │ ├── agent_test.clj │ └── health_test.clj │ ├── renderers │ └── transaction_sample_test.clj │ ├── test │ └── fixtures.clj │ └── utils │ └── time_test.clj ├── doc └── dashboard.png ├── example ├── docker-compose.yml ├── load-generator │ ├── Dockerfile │ ├── Gemfile │ ├── Gemfile.lock │ └── app.rb └── rails-app │ ├── .gitattributes │ ├── .gitignore │ ├── .ruby-version │ ├── Dockerfile │ ├── Gemfile │ ├── Gemfile.lock │ ├── Rakefile │ ├── app │ ├── controllers │ │ ├── application_controller.rb │ │ ├── concerns │ │ │ └── .keep │ │ └── posts_controller.rb │ ├── models │ │ ├── application_record.rb │ │ ├── concerns │ │ │ └── .keep │ │ └── post.rb │ └── views │ │ └── layouts │ │ └── application.html.erb │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ ├── setup │ └── spring │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── credentials.yml.enc │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── application_controller_renderer.rb │ │ ├── backtrace_silencers.rb │ │ ├── content_security_policy.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── permissions_policy.rb │ │ ├── statsbit_no_ssl.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── puma.rb │ ├── routes.rb │ └── spring.rb │ ├── db │ ├── migrate │ │ └── 20210128134935_create_posts.rb │ ├── schema.rb │ └── seeds.rb │ ├── lib │ ├── assets │ │ └── .keep │ └── tasks │ │ └── .keep │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── apple-touch-icon-precomposed.png │ ├── apple-touch-icon.png │ ├── favicon.ico │ └── robots.txt │ ├── tmp │ ├── .keep │ └── pids │ │ └── .keep │ └── vendor │ └── .keep └── grafana ├── .dockerignore ├── .gitignore ├── Dockerfile ├── Readme.md ├── dashboards ├── app │ ├── background.json │ ├── background_transaction.json │ ├── blank.json.example │ ├── databases.json │ ├── error.json │ ├── errors.json │ ├── external.json │ ├── extra.json │ ├── go_runtime.json │ ├── ruby_vms.json │ ├── transaction_trace.json │ ├── transaction_traces.json │ ├── web.json │ └── web_transaction.json └── main │ ├── apps.json │ ├── internals.json │ ├── n+1.json │ └── readme.json ├── notes └── grafana.sql └── provisioning ├── dashboards └── dashboards.yaml └── datasources └── postgres.yaml /.github/workflows/statsbit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/.github/workflows/statsbit.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/LICENSE -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/Readme.md -------------------------------------------------------------------------------- /backend/.dir-locals.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/.dir-locals.el -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/build/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/build/.dockerignore -------------------------------------------------------------------------------- /backend/build/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/build/Dockerfile -------------------------------------------------------------------------------- /backend/build/newrelic.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/build/newrelic.jar -------------------------------------------------------------------------------- /backend/build/newrelic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/build/newrelic.yml -------------------------------------------------------------------------------- /backend/deps.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/deps.edn -------------------------------------------------------------------------------- /backend/dev/user.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/dev/user.clj -------------------------------------------------------------------------------- /backend/external/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/external/docker-compose.yml -------------------------------------------------------------------------------- /backend/jars/newrelic-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/jars/newrelic-api.jar -------------------------------------------------------------------------------- /backend/notes/bench.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/bench.sql -------------------------------------------------------------------------------- /backend/notes/mixed.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/mixed.sql -------------------------------------------------------------------------------- /backend/notes/notes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/notes.md -------------------------------------------------------------------------------- /backend/notes/notes_new.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/notes_new.md -------------------------------------------------------------------------------- /backend/notes/schema_v1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/schema_v1.sql -------------------------------------------------------------------------------- /backend/notes/schema_v1_brin.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/schema_v1_brin.sql -------------------------------------------------------------------------------- /backend/notes/schema_v1_cstore.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/schema_v1_cstore.sql -------------------------------------------------------------------------------- /backend/notes/schema_v2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/schema_v2.sql -------------------------------------------------------------------------------- /backend/notes/schema_v2_cstore.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/schema_v2_cstore.sql -------------------------------------------------------------------------------- /backend/notes/schema_v3.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/schema_v3.sql -------------------------------------------------------------------------------- /backend/notes/schema_v4.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/schema_v4.sql -------------------------------------------------------------------------------- /backend/notes/timescaledb.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/notes/timescaledb.sql -------------------------------------------------------------------------------- /backend/resources/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/config.edn -------------------------------------------------------------------------------- /backend/resources/db/migration/common/R__analytic_event_data_views.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/R__analytic_event_data_views.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/R__apps_procs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/R__apps_procs.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/R__error_data_views.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/R__error_data_views.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/R__keys_procs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/R__keys_procs.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/R__metric_data_views.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/R__metric_data_views.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/R__servers_procs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/R__servers_procs.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/R__transaction_sample_data_views.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/R__transaction_sample_data_views.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/R__transactions_procs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/R__transactions_procs.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/V1__apps.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/V1__apps.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/V2__servers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/V2__servers.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/V3__keys.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/V3__keys.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/V4__transactions.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/V4__transactions.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/V5.0__metric_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/V5.0__metric_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/V6.0__transaction_sample_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/V6.0__transaction_sample_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/V7.0__analytic_event_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/V7.0__analytic_event_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/common/V8.0__error_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/common/V8.0__error_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/prod_server_1.x/R__timescale_settings.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/prod_server_1.x/R__timescale_settings.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/prod_server_2.x/R__timescale_settings.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/prod_server_2.x/R__timescale_settings.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/test_server_1.x/R__timescale_settings.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/test_server_1.x/R__timescale_settings.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/test_server_2.x/R__timescale_settings.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/test_server_2.x/R__timescale_settings.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/timescale_1.x/V5.1__metric_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/timescale_1.x/V5.1__metric_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/timescale_1.x/V6.1__transaction_sample_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/timescale_1.x/V6.1__transaction_sample_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/timescale_1.x/V7.1__analytic_event_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/timescale_1.x/V7.1__analytic_event_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/timescale_1.x/V8.1__error_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/timescale_1.x/V8.1__error_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/timescale_2.x/V5.1__metric_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/timescale_2.x/V5.1__metric_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/timescale_2.x/V6.1__transaction_sample_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/timescale_2.x/V6.1__transaction_sample_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/timescale_2.x/V7.1__analytic_event_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/timescale_2.x/V7.1__analytic_event_data.sql -------------------------------------------------------------------------------- /backend/resources/db/migration/timescale_2.x/V8.1__error_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/resources/db/migration/timescale_2.x/V8.1__error_data.sql -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/analytic_event_data.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/analytic_event_data.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/analytic_event_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/analytic_event_data.sql -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/connect.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/connect.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/connect.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/connect.sql -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/error_data.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/error_data.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/error_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/error_data.sql -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/metric_data.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/metric_data.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/metric_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/metric_data.sql -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/transaction_sample_data.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/transaction_sample_data.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/commands/transaction_sample_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/commands/transaction_sample_data.sql -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/components/config.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/components/config.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/components/context.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/components/context.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/components/data_source.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/components/data_source.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/components/handler.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/components/handler.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/components/jetty.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/components/jetty.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/components/sentry.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/components/sentry.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/config.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/config.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/context.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/context.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/hooks.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/hooks.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/http/agent.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/http/agent.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/http/handler.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/http/handler.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/init.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/init.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/main.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/migration.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/migration.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/renderers/transaction_sample.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/renderers/transaction_sample.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/system.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/system.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/types.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/types.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/utils/agent_id.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/utils/agent_id.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/utils/component.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/utils/component.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/utils/sentry.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/utils/sentry.clj -------------------------------------------------------------------------------- /backend/src/ru/bia_tech/statsbit/utils/time.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/src/ru/bia_tech/statsbit/utils/time.clj -------------------------------------------------------------------------------- /backend/test/ru/bia_tech/statsbit/http/agent_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/test/ru/bia_tech/statsbit/http/agent_test.clj -------------------------------------------------------------------------------- /backend/test/ru/bia_tech/statsbit/http/health_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/test/ru/bia_tech/statsbit/http/health_test.clj -------------------------------------------------------------------------------- /backend/test/ru/bia_tech/statsbit/renderers/transaction_sample_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/test/ru/bia_tech/statsbit/renderers/transaction_sample_test.clj -------------------------------------------------------------------------------- /backend/test/ru/bia_tech/statsbit/test/fixtures.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/test/ru/bia_tech/statsbit/test/fixtures.clj -------------------------------------------------------------------------------- /backend/test/ru/bia_tech/statsbit/utils/time_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/backend/test/ru/bia_tech/statsbit/utils/time_test.clj -------------------------------------------------------------------------------- /doc/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/doc/dashboard.png -------------------------------------------------------------------------------- /example/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/docker-compose.yml -------------------------------------------------------------------------------- /example/load-generator/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/load-generator/Dockerfile -------------------------------------------------------------------------------- /example/load-generator/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/load-generator/Gemfile -------------------------------------------------------------------------------- /example/load-generator/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/load-generator/Gemfile.lock -------------------------------------------------------------------------------- /example/load-generator/app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/load-generator/app.rb -------------------------------------------------------------------------------- /example/rails-app/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/.gitattributes -------------------------------------------------------------------------------- /example/rails-app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/.gitignore -------------------------------------------------------------------------------- /example/rails-app/.ruby-version: -------------------------------------------------------------------------------- 1 | ruby-3.0.0 2 | -------------------------------------------------------------------------------- /example/rails-app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/Dockerfile -------------------------------------------------------------------------------- /example/rails-app/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/Gemfile -------------------------------------------------------------------------------- /example/rails-app/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/Gemfile.lock -------------------------------------------------------------------------------- /example/rails-app/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/Rakefile -------------------------------------------------------------------------------- /example/rails-app/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /example/rails-app/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/app/controllers/posts_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/app/controllers/posts_controller.rb -------------------------------------------------------------------------------- /example/rails-app/app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/app/models/application_record.rb -------------------------------------------------------------------------------- /example/rails-app/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/app/models/post.rb: -------------------------------------------------------------------------------- 1 | class Post < ApplicationRecord 2 | end 3 | -------------------------------------------------------------------------------- /example/rails-app/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /example/rails-app/bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/bin/bundle -------------------------------------------------------------------------------- /example/rails-app/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/bin/rails -------------------------------------------------------------------------------- /example/rails-app/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/bin/rake -------------------------------------------------------------------------------- /example/rails-app/bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/bin/setup -------------------------------------------------------------------------------- /example/rails-app/bin/spring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/bin/spring -------------------------------------------------------------------------------- /example/rails-app/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config.ru -------------------------------------------------------------------------------- /example/rails-app/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/application.rb -------------------------------------------------------------------------------- /example/rails-app/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/boot.rb -------------------------------------------------------------------------------- /example/rails-app/config/credentials.yml.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/credentials.yml.enc -------------------------------------------------------------------------------- /example/rails-app/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/database.yml -------------------------------------------------------------------------------- /example/rails-app/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/environment.rb -------------------------------------------------------------------------------- /example/rails-app/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/environments/development.rb -------------------------------------------------------------------------------- /example/rails-app/config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/environments/production.rb -------------------------------------------------------------------------------- /example/rails-app/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/environments/test.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/application_controller_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/application_controller_renderer.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/content_security_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/content_security_policy.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/inflections.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/permissions_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/permissions_policy.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/statsbit_no_ssl.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/statsbit_no_ssl.rb -------------------------------------------------------------------------------- /example/rails-app/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /example/rails-app/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/locales/en.yml -------------------------------------------------------------------------------- /example/rails-app/config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/puma.rb -------------------------------------------------------------------------------- /example/rails-app/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | resources :posts 3 | end 4 | -------------------------------------------------------------------------------- /example/rails-app/config/spring.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/config/spring.rb -------------------------------------------------------------------------------- /example/rails-app/db/migrate/20210128134935_create_posts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/db/migrate/20210128134935_create_posts.rb -------------------------------------------------------------------------------- /example/rails-app/db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/db/schema.rb -------------------------------------------------------------------------------- /example/rails-app/db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/db/seeds.rb -------------------------------------------------------------------------------- /example/rails-app/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/public/404.html -------------------------------------------------------------------------------- /example/rails-app/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/public/422.html -------------------------------------------------------------------------------- /example/rails-app/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/public/500.html -------------------------------------------------------------------------------- /example/rails-app/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/example/rails-app/public/robots.txt -------------------------------------------------------------------------------- /example/rails-app/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/rails-app/vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /grafana/.dockerignore: -------------------------------------------------------------------------------- 1 | /notes -------------------------------------------------------------------------------- /grafana/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /grafana/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/Dockerfile -------------------------------------------------------------------------------- /grafana/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/Readme.md -------------------------------------------------------------------------------- /grafana/dashboards/app/background.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/background.json -------------------------------------------------------------------------------- /grafana/dashboards/app/background_transaction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/background_transaction.json -------------------------------------------------------------------------------- /grafana/dashboards/app/blank.json.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/blank.json.example -------------------------------------------------------------------------------- /grafana/dashboards/app/databases.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/databases.json -------------------------------------------------------------------------------- /grafana/dashboards/app/error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/error.json -------------------------------------------------------------------------------- /grafana/dashboards/app/errors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/errors.json -------------------------------------------------------------------------------- /grafana/dashboards/app/external.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/external.json -------------------------------------------------------------------------------- /grafana/dashboards/app/extra.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/extra.json -------------------------------------------------------------------------------- /grafana/dashboards/app/go_runtime.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/go_runtime.json -------------------------------------------------------------------------------- /grafana/dashboards/app/ruby_vms.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/ruby_vms.json -------------------------------------------------------------------------------- /grafana/dashboards/app/transaction_trace.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/transaction_trace.json -------------------------------------------------------------------------------- /grafana/dashboards/app/transaction_traces.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/transaction_traces.json -------------------------------------------------------------------------------- /grafana/dashboards/app/web.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/web.json -------------------------------------------------------------------------------- /grafana/dashboards/app/web_transaction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/app/web_transaction.json -------------------------------------------------------------------------------- /grafana/dashboards/main/apps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/main/apps.json -------------------------------------------------------------------------------- /grafana/dashboards/main/internals.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/main/internals.json -------------------------------------------------------------------------------- /grafana/dashboards/main/n+1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/main/n+1.json -------------------------------------------------------------------------------- /grafana/dashboards/main/readme.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/dashboards/main/readme.json -------------------------------------------------------------------------------- /grafana/notes/grafana.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/notes/grafana.sql -------------------------------------------------------------------------------- /grafana/provisioning/dashboards/dashboards.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/provisioning/dashboards/dashboards.yaml -------------------------------------------------------------------------------- /grafana/provisioning/datasources/postgres.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bia-technologies/statsbit/HEAD/grafana/provisioning/datasources/postgres.yaml --------------------------------------------------------------------------------