prratek_ramchandani
11/02/2022, 9:04 PMprratek_ramchandani
11/02/2022, 9:05 PMversion: 1
send_anonymous_usage_stats: true
project_id: "tap-facebook-pages"
include_paths:
- ./*.meltano.yml
default_environment: test
environments:
- name: test
plugins:
extractors:
- name: "tap-facebook-pages"
namespace: "tap_facebook_pages"
pip_url: -e .
capabilities:
- state
- catalog
- discover
- about
- stream-maps
config:
start_date: '2010-01-01T00:00:00Z'
settings:
- name: user_token
kind: password
- name: page_ids
- name: start_date
value: '2022-10-01T00:00:00Z'
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonlprratek_ramchandani
11/02/2022, 9:06 PMprivate.meltano.yml in the same directory
environments:
- name: test
config:
plugins:
extractors:
- name: "tap-facebook-pages"
config:
page_ids:
- 'xxxxxxxxxxxx'prratek_ramchandani
11/02/2022, 9:07 PMpage_ids missing Config validation failed: 'page_ids' is a required propertychristoph
11/02/2022, 9:17 PMprivate.meltano.yml should be the plugins: key.prratek_ramchandani
11/02/2022, 9:18 PMprratek_ramchandani
11/02/2022, 9:19 PMplugins:
extractors:
- name: "tap-facebook-pages"
config:
page_ids:
- 'xxxxxxxxx'christoph
11/02/2022, 9:20 PMprratek_ramchandani
11/02/2022, 9:22 PMchristoph
11/02/2022, 9:26 PMmeltano config tap-facebook-pages list say? Does it show the page_ids value?prratek_ramchandani
11/02/2022, 9:28 PMpage_ids from the other filechristoph
11/02/2022, 9:30 PMmeltano --environment=test config tap-facebook-pages list?prratek_ramchandani
11/02/2022, 9:30 PM2022-11-02T21:28:52.628657Z [info ] Environment 'test' is activetaylor
11/02/2022, 9:49 PMprratek_ramchandani
11/02/2022, 9:50 PMtaylor
11/02/2022, 9:51 PMtaylor
11/02/2022, 9:51 PMprratek_ramchandani
11/02/2022, 10:07 PMedgar_ramirez_mondragon
11/02/2022, 10:12 PMtest is defined in both. Removing it from meltano.yml might fix it.prratek_ramchandani
11/03/2022, 3:44 PMpage_ids config
# meltano.yml
version: 1
send_anonymous_usage_stats: true
project_id: "tap-facebook-pages"
include_paths:
- ./*.meltano.yml
#default_environment: test
#environments:
#- name: test
plugins:
extractors:
- name: "tap-facebook-pages"
namespace: "tap_facebook_pages"
pip_url: -e .
capabilities:
- state
- catalog
- discover
- about
- stream-maps
config:
start_date: '2010-01-01T00:00:00Z'
settings:
- name: user_token
kind: password
- name: page_ids
- name: start_date
value: '2022-10-01T00:00:00Z'
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonl
# private.meltano.yml
#environments:
#- name: test
# config:
plugins:
extractors:
- name: "tap-facebook-pages"
config:
page_ids:
- 'xxxxxxxxx'taylor
11/03/2022, 6:36 PMprivate.meltano.yml. The environments key in the main meltano.yml isn’t for listing what enviornments are available, it’s for defining actual config in them. So drop it from the main one and only define it once in private.meltano.ymlprratek_ramchandani
11/08/2022, 2:23 PMprratek_ramchandani
11/08/2022, 2:24 PM# meltano.yml
version: 1
send_anonymous_usage_stats: true
project_id: "tap-facebook-pages"
include_paths:
- ./*.meltano.yml
#default_environment: test
#environments:
#- name: test
plugins:
extractors:
- name: "tap-facebook-pages"
namespace: "tap_facebook_pages"
pip_url: -e .
capabilities:
- state
- catalog
- discover
- about
- stream-maps
config:
start_date: '2010-01-01T00:00:00Z'
settings:
- name: user_token
kind: password
- name: page_ids
- name: start_date
value: '2022-10-01T00:00:00Z'
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonl
# private.meltano.yml
environments:
- name: test
config:
plugins:
extractors:
- name: "tap-facebook-pages"
config:
page_ids:
- 'xxxxxxxx'taylor
11/08/2022, 7:14 PMmeltano config tap-facebook-pages does not show the proper config list? I’m wondering if this is specific to meltano eltprratek_ramchandani
11/08/2022, 8:02 PMpage_ids is None
❯ meltano config tap-facebook-pages list
user_token [env: TAP_FACEBOOK_PAGES_USER_TOKEN] current value: 'xxxxxxxxxxxx' (from the TAP_FACEBOOK_PAGES_USER_TOKEN variable in the environment)
page_ids [env: TAP_FACEBOOK_PAGES_PAGE_IDS] current value: None (default)
start_date [env: TAP_FACEBOOK_PAGES_START_DATE] (default: '2022-10-01T00:00:00Z') current value: '2010-01-01T00:00:00Z' (from `meltano.yml`)taylor
11/08/2022, 10:46 PMchristoph
11/11/2022, 6:01 AMchristoph
11/11/2022, 7:12 AMmeltano init meltenvtest
cd meltenvtest
meltano add extractor tap-github
mkdir environments
add contents to `environments/dev.meltano.yml`:
environments:
- name: dev
config:
plugins:
extractors:
- name: tap-github
config:
user_agent: meltano
update meltano.yml with `include_paths`:
version: 1
default_environment: dev
project_id: c3284a57-63c8-486c-8a3d-c6114642dea6
environments:
- name: dev
include_paths:
- ./environments/*.meltano.yml
plugins:
extractors:
- name: tap-github
variant: meltanolabs
pip_url: git+<https://github.com/MeltanoLabs/tap-github.git>
Run `meltano config`:
MELTANO_ENVIRONMENT=dev meltano config tap-github list
Output:
2022-11-11T07:06:41.693904Z [info ] Environment 'dev' is active
user_agent [env: TAP_GITHUB_USER_AGENT] current value: None (default)
metrics_log_level [env: TAP_GITHUB_METRICS_LOG_LEVEL] current value: None (default)
Metrics Log Level: The log level of the API response metrics.
auth_token [env: TAP_GITHUB_AUTH_TOKEN] current value: None (default)
Auth Token: GitHub token to authenticate with.
additional_auth_tokens [env: TAP_GITHUB_ADDITIONAL_AUTH_TOKENS] current value: None (default)
Additional Auth Tokens: List of GitHub tokens to authenticate with. Streams will loop through them when hitting rate limits.
rate_limit_buffer [env: TAP_GITHUB_RATE_LIMIT_BUFFER] current value: None (default)
Rate Limit Buffer: Add a buffer to avoid consuming all query points for the token at hand. Defaults to 1000.
searches [env: TAP_GITHUB_SEARCHES] current value: None (default)
Searches: An array of search descriptor objects with the following properties. "name" - a human readable name for the search query. "query" - a github search string (generally the same as would come after ?q= in the URL)
organizations [env: TAP_GITHUB_ORGANIZATIONS] current value: None (default)
Organizations: An array of strings containing the github organizations to be included
repositories [env: TAP_GITHUB_REPOSITORIES] current value: None (default)
Repositories: An array of strings containing the github repos to be included
user_usernames [env: TAP_GITHUB_USER_USERNAMES] current value: None (default)
User Usernames: A list of GithHub usernames.
user_ids [env: TAP_GITHUB_USER_IDS] current value: None (default)
User IDs: A list of GitHub user ids.
start_date [env: TAP_GITHUB_START_DATE] current value: None (default)
stream_maps [env: TAP_GITHUB_STREAM_MAPS] current value: None (default)
stream_map_config [env: TAP_GITHUB_STREAM_MAP_CONFIG] current value: None (default)
skip_parent_streams [env: TAP_GITHUB_SKIP_PARENT_STREAMS] current value: None (default)
Skip Parent Streams: Set to true to skip API calls for the parent streams (such as repositories) if it is not selected but children are.
To learn more about extractor 'tap-github' and its settings, visit <https://hub.meltano.com/extractors/tap-github--meltanolabs>
user_agent is Nonechristoph
11/11/2022, 7:13 AMchristoph
11/11/2022, 7:14 AM