Skip to content

source-plausible new config setting for self hosted plausible instance. #43048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 6, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ definitions:
$ref: "#/schemas/stats"
base_requester:
type: HttpRequester
url_base: https://plausible.io/api/v1/stats
url_base: "{{ config['api_url'] or 'https://plausible.io/api/v1/stats' }}"
authenticator:
type: BearerAuthenticator
api_token: "{{ config['api_key'] }}"
Expand Down Expand Up @@ -79,14 +79,24 @@ spec:
- airbyte.com
- docs.airbyte.com
order: 1
api_url:
type: string
title: API URL
description: >-
The API URL of your plausible instance.
Change this if you self-host plausible. The default is https://plausible.io/api/v1/stats
pattern: ^[A-Za-z0-9-.]+\.[A-Z-a-z0-9-.]+
examples:
- https://plausible.example.com/api/v1/stats
order: 2
start_date:
type: string
title: Data start date
description: Start date for data to retrieve, in ISO-8601 format.
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
examples:
- YYYY-MM-DD
order: 2
order: 3
additionalProperties: true

metadata:
Expand Down
Loading