0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
Go to file
Ellie Huxtable 84ea166e9b
chore: Allow instrumentation of gunicorn with statsd (#11372)
* chore: Allow instrumentation of gunicorn with statsd

In order to ensure that gunicorn is performing optimally, it helps to
monitor it with statsd.

This change allows us to include the flags needed to send UDP packets to
a statsd instance.

Docs: https://docs.gunicorn.org/en/stable/instrumentation.html

* Update bin/docker-server

Co-authored-by: Harry Waye <harry@posthog.com>

* Update bin/docker-server

Co-authored-by: Harry Waye <harry@posthog.com>

Co-authored-by: Harry Waye <harry@posthog.com>
2022-08-19 08:40:37 +01:00
.devcontainer chore(web): add django-prometheus exposed on /_metrics (#11000) 2022-07-27 20:37:44 +01:00
.github chore: Use depot again for production builds (#11316) 2022-08-16 10:31:31 +00:00
.husky
.run fix: celery autoimport was ignoring CSV exports (#10586) 2022-06-30 17:42:28 +01:00
.storybook fix: home accessibility (#11211) 2022-08-09 20:01:58 +01:00
.vscode
bin chore: Allow instrumentation of gunicorn with statsd (#11372) 2022-08-19 08:40:37 +01:00
cypress fix(data-m): fix property filter resetting event filter (#11282) 2022-08-18 15:37:10 +00:00
docker/clickhouse Revert "chore(dev): use network mode host for docker-compose services (#10917)" (#10926) 2022-07-22 10:25:59 +01:00
ee feat(data-deletion): Delete team/org data using AsyncDeletion model (#11338) 2022-08-18 12:40:55 +03:00
frontend fix(alert-message): Restore inline icon to matching size (#11369) 2022-08-18 19:18:48 +02:00
plugin-server chore(plugin-server): Bump kafkajs to 2.2.0 (#11364) 2022-08-19 09:10:54 +03:00
posthog feat: Image exporter debugging (#11373) 2022-08-18 15:19:39 +00:00
share feat: Add GeoIP2 capability to Django app (for feature flags) (#10890) 2022-07-25 17:20:11 -07:00
staticfiles
.all-contributorsrc chore(contributors): 🤖 - Add danielthedifficult as a contributor 🎉 (#11281) 2022-08-12 16:51:49 +02:00
.coveragerc
.deepsource.toml
.dockerignore feat: Add GeoIP2 capability to Django app (for feature flags) (#10890) 2022-07-25 17:20:11 -07:00
.environment
.eslintrc.js feat: LemonInput & TextArea (#11261) 2022-08-16 11:07:50 +02:00
.flake8 refactor(demo): Rework simulate_matrix command to generate_demo_data (#11227) 2022-08-10 12:58:12 +00:00
.gitattributes
.gitignore chore(demo): Give PostHog team members staff privileges in demo env (#11292) 2022-08-17 10:21:28 +02:00
.kearc
.prettierignore
.prettierrc
.test_durations Revert "chore(dev): use network mode host for docker-compose services (#10917)" (#10926) 2022-07-22 10:25:59 +01:00
babel.config.js
CHANGELOG.md
CODE_OF_CONDUCT.md
codecov.yml
CONTRIBUTING.md
cypress.e2e.config.ts feat: Universal CSV exports (#10644) 2022-07-07 19:16:13 +00:00
depot.json feat(ci): Use Depot for Docker builds in CI (#10624) 2022-07-04 15:33:36 +01:00
docker-compose.dev.yml Revert "chore(dev): use network mode host for docker-compose services (#10917)" (#10926) 2022-07-22 10:25:59 +01:00
docker-compose.hobby.yml fix: add persistent volumes to docker-compose-hobby (#11256) 2022-08-12 15:31:24 +01:00
Dockerfile
gunicorn.config.py chore(web): add django-prometheus exposed on /_metrics (#11000) 2022-07-27 20:37:44 +01:00
jest.config.ts feat(frontend): build @posthog/lemon-ui and @posthog/apps-common (#10120) 2022-06-10 17:03:06 +02:00
jest.setup.ts
latest_migrations.manifest feat: Add async deletion model (#11307) 2022-08-18 10:02:00 +03:00
LICENSE
manage.py
mypy.ini
package.json chore(deps): Update posthog-js to 1.29.0 (#11321) 2022-08-17 10:17:14 +01:00
postcss.config.js feat: Extended utility classes and updated color palette (#11047) 2022-08-01 14:09:44 +00:00
Procfile
production.Dockerfile chore(web): add django-prometheus exposed on /_metrics (#11000) 2022-07-27 20:37:44 +01:00
pyproject.toml
pytest.ini
README.md chore(contributors): 🤖 - Add danielthedifficult as a contributor 🎉 (#11281) 2022-08-12 16:51:49 +02:00
requirements-dev.in chore: nuke protobuf fully (#10932) 2022-08-03 15:41:44 +02:00
requirements-dev.txt fix(Trends): session recording filtering; (#10979) 2022-07-26 21:36:36 +01:00
requirements.in chore(feature-flags): Bump posthoganalytics version (#11149) 2022-08-12 14:29:36 +01:00
requirements.txt chore(feature-flags): Bump posthoganalytics version (#11149) 2022-08-12 14:29:36 +01:00
runtime.txt
SECURITY.md
tailwind.config.js fix: Instance Settings visuals (#11323) 2022-08-16 14:12:58 +00:00
task-definition.migration.json chore: remove aioch as a dep (#10517) 2022-06-29 12:53:49 +01:00
task-definition.plugins-async.json chore: remove enabled for months envs - attempt 2 (#11118) 2022-08-04 17:03:47 +02:00
task-definition.plugins-ingestion.json chore: remove enabled for months envs - attempt 2 (#11118) 2022-08-04 17:03:47 +02:00
task-definition.web.json chore: remove aioch as a dep (#10517) 2022-06-29 12:53:49 +01:00
task-definition.worker.json chore: remove aioch as a dep (#10517) 2022-06-29 12:53:49 +01:00
tsconfig.json feat(frontend): build @posthog/lemon-ui and @posthog/apps-common (#10120) 2022-06-10 17:03:06 +02:00
versions.json chore: Sync version 1.38.0 to master (#11066) 2022-08-01 16:30:59 +02:00
webpack.config.js feat(frontend): build @posthog/lemon-ui and @posthog/apps-common (#10120) 2022-06-10 17:03:06 +02:00
yarn.lock chore(deps): Update posthog-js to 1.29.0 (#11321) 2022-08-17 10:17:14 +01:00

posthoglogo

PRs Welcome Join Slack Community Docker Pulls GitHub commit activity GitHub closed issues

PostHog is an open-source product analytics suite, built for engineers

  • Automatically track every event on your website or app
  • Understand your users and how to improve your product
  • Deploy on your own infrastructure to keep control of your data.

Get started for free

Option 1: Hobby instance one-line-deploy

For <100K events ingested monthly on Linux with Docker (recommended 4GB memory):

 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)" 

Option 2: Production instance on your infrastructure

Follow our Scaleable Self-Hosting Guide for all major cloud service providers and on-premise deploys

Option 3: If you don't need to self-host

Sign up for a free PostHog Cloud project

Features

ui-demo

We bring all the tools into one place to give you everything you need to build better products:

  • Event-based Analytics on users or groups - capture your product's usage data to see which users are doing what in your application
  • Product data visualizations graphs, funnels, cohorts, paths, retention, and dashboards
  • Complete control over your data - host it yourself on any infrastructure
  • Session recording to watch videos of your users' behavior, with fine-grained privacy controls
  • Automatically capture clicks and pageviews to analyze what your users are doing without pushing events manually
  • Feature flags to understand the impact of new features before rolling them out more widely
  • Heatmaps to understand how users interact with your product with the PostHog Toolbar
  • Automated Analysis to find correlations between successful users and their behaviors or attributes
  • Plays nicely with data warehouses import events or user data from your warehouse by writing a simple transformation plugin, and export data with pre-built plugins - such as BigQuery, Redshift, Snowflake and S3
  • Infinitely extensible use custom plugins to extend PostHog and integrate with any service or tool
  • Ready-made libraries for JS, Python, Ruby, Node, Go, Android, iOS, PHP, Flutter, React Native, Elixir, Nim + an API for anything else
  • And much much more... for a full list of PostHog features.

Event autocapture

You don't have to spend weeks instrumenting every event on your front-end, point and click at elements from your browser and turn them into events which you and your team can analyze

Getting the most of PostHog

See PostHog Docs for in-depth walk-throughs on functionality.

Join our Slack community if you need help, want to chat, or are thinking of a new feature. We're here to help - and to make PostHog even better.

Philosophy

We help you understand user behavior and build better products without losing control of your data.

In our view, third-party analytics tools do not work in a world of cookie deprecation, GDPR, HIPAA, CCPA, and many other four-letter acronyms. PostHog is the alternative to sending all of your customers' personal information and usage data to third-parties.

PostHog is designed to give you every tool you need to understand user behavior, create hypothesis and release changes to make your product more successful.

What's cool about this?

PostHog is the only product-focused open-source analytics suite, with an event, user and group architecture that you can host in any infrastructure.

We are an open-source alternative to products such as Mixpanel, Amplitude, Heap, HotJar, Pendo or Full Story. We're designed to be more developer-friendly, with the broadest range of features like session recording, heatmaps, feature flags, and plugins.

We play nicely with data warehouses and other services - you can import event or user data by writing a plugin to create transformations, or you can export data by using our existing data exports to BigQuery, Redshift, Snowflake, etc. All without losing control of your data.

Developing locally & Contributing

See our Docs for instructions on developing PostHog locally.

We <3 contributions big or small, check out our guide on how to get started.

Not sure where to start? Book a free, no-pressure pairing session with one of the team.

We're hiring!

Come help us make PostHog even better. We're growing fast, and would love for you to join us.

Open-source vs. paid

This repo is entirely MIT licensed, with the exception of the ee directory (if applicable). Need absolutely 💯% FOSS? Check out our posthog-foss repository, which is purged of all proprietary code and features.

Premium features (contained in the ee directory) require a PostHog license. Contact us at sales@posthog.com for more information, or see our pricing page.

Contributors 🦸