Граф коммитов

517 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 6b88328b34 Bump looker-sdk from 21.6.0 to 21.8.0
Bumps [looker-sdk](https://github.com/looker-open-source/sdk-codegen) from 21.6.0 to 21.8.0.
- [Release notes](https://github.com/looker-open-source/sdk-codegen/releases)
- [Changelog](https://github.com/looker-open-source/sdk-codegen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/looker-open-source/sdk-codegen/compare/sdk-v21.6.0...sdk-v21.8.0)

---
updated-dependencies:
- dependency-name: looker-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 13:14:05 -04:00
Frank Bertsch dde773f03a Add ability to specify looker-spoke-private
- Add rebecca as owner of contextual services
- Configure model for spoke-private
- Write to looker-spoke-private and -default
- Push and open PR for looker-spoke-private
2021-06-21 13:01:07 -04:00
Frank Bertsch e4793c8c52 Add optional spoke key to namespaces
The spoke key indicates which spoke this model belongs to.
Also added a default is_glean set to False.
2021-06-21 13:01:07 -04:00
William Lachance b85913b204
Handle Glean pings with kebab case names (fixes #160) (#162)
We need to be carefully about pings like `addresses-sync`, where the
explore name is snake case, but the original ping name is kebab.
2021-06-14 17:10:39 -04:00
Daniel Thorn 4da59768f0
Add custom namespace for mozilla vpn (#161) 2021-06-14 13:05:55 -07:00
Anthony Miyaguchi 489a963784
Add notes about multiple view per file convention (#159) 2021-06-08 22:42:40 -04:00
Anthony Miyaguchi 89cf62a269
Add autogenerated api docs using pdoc (#151)
* Update namespaces docs

* Add pdoc and github action for dpeloying to gh-pages

* [test] docs branch

* Drop github action to deploy to gh-pages

* Remove pdoc dependency

* Update .config.yml for gh-pages

* !fixup circleci config

* deploy only on docs branch

* Fix leftover from rebase

* Update config to deploy to ghpages properly

* Only deploy docs on main

* Add rules for consistent indentation in yaml files
2021-06-08 13:46:38 -07:00
Anthony Miyaguchi f35c63a6c0
Bump google-api-core to 1.30.0 (#158) 2021-06-08 13:19:02 -07:00
dependabot[bot] e6b4256323 Bump google-cloud-bigquery from 2.19.0 to 2.20.0
Bumps [google-cloud-bigquery](https://github.com/googleapis/python-bigquery) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/googleapis/python-bigquery/releases)
- [Changelog](https://github.com/googleapis/python-bigquery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-bigquery/compare/v2.19.0...v2.20.0)

---
updated-dependencies:
- dependency-name: google-cloud-bigquery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 14:48:13 -04:00
dependabot[bot] 104041b3f0 Bump google-cloud-bigquery from 2.18.0 to 2.19.0
Bumps [google-cloud-bigquery](https://github.com/googleapis/python-bigquery) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/googleapis/python-bigquery/releases)
- [Changelog](https://github.com/googleapis/python-bigquery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-bigquery/compare/v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: google-cloud-bigquery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 08:15:07 -04:00
Frank Bertsch 8bb982ff09 Don't wait for build to start push cycle 2021-06-04 13:35:20 -04:00
Frank Bertsch 221ade0208 Run black 2021-06-04 12:41:24 -04:00
Frank Bertsch 78e6677a7d Use list comprehension over explicit
Co-authored-by: William Lachance <wrlach@gmail.com>
2021-06-04 12:41:24 -04:00
Frank Bertsch 8206d0346c Minor changes to labeled counters
- Change key to label
- Change the way the view is displayed
2021-06-04 12:41:24 -04:00
Jason Thomas d352670584
Update model_set for prod instance (#150)
* Update model_set for prod instance

* Update spoke tests to reflect changes to model sets

* Specify yaml loader argument to remove warning

Co-authored-by: Frank Bertsch <fbertsch@mozilla.com>
2021-06-04 06:57:40 -07:00
Anthony Miyaguchi d54af3a23a
Add unnested labeled counter to glean ping explores (#139)
* Add unnested label view

* Add hidden dimension for labeled counter (probably unnecessary)

* Add measures to separate view (broken because of circular dependencies)

* Move unnested view logic into glean ping directly

* Add explore logic to expose join views in explore

* Add test for labeled counter view

* Add description to view

* Break gigantic test for lookml into smaller tests

* Remove extra semicolons and description from view

* Remove duplicate values from explore/view

* Update _to_lookml for API changes

* Add looker suggest explores

* Update tests for suggest explores and new labels

* Use client id as primary key for joins

* Join using document_id as primary key

* Update tests for document id as primary key

* Fix description from rebase

* Address review: longer time period for labels

* Remove document id primary key

* Revert "Remove document id primary key"

This reverts commit 242913c241.

* Sort views in the correct order

* Reduce suggest time to 30 days
2021-06-04 09:54:18 -04:00
Frank Bertsch 4e4e24f4db
Fix transitive dependency issue (again) (#152) 2021-06-04 09:43:32 -04:00
Tushar Srivastava 4162a1094f
Marked `additional_properties` as hidden (#144)
* additional_properties in HIDDEN_DIMENSIONS, added test case

* expect additional_properties

* additional_properties in HIDDEN_DIMENSIONS, added test case

* expect additional_properties

Co-authored-by: Frank Bertsch <fbertsch@mozilla.com>
2021-06-02 20:37:57 -04:00
William Lachance aec929b8c5
Generate descriptions for Glean Ping explores (fixes #106) (#143)
Format should be `Explore for <x> ping. <x ping description>`. For
example, for the metrics ping, you would see:

```
Explore for the metrics ping. The metrics ping is intended for all of
the metrics that are explicitly set by the application or are included
in the application's metrics.yaml file (except events). The reported
data is tied to the ping's measurement window, which is the time
between the collection of two metrics ping. Ideally, this window is
expected to be about 24 hours, given that the collection is scheduled
daily at 4AM. Data in the ping_info section of the ping can be used to
infer the length of this window.
```
2021-06-02 14:30:49 -07:00
dependabot[bot] b8692fa36b
Bump google-cloud-bigquery from 2.17.0 to 2.18.0 (#147) 2021-06-02 17:24:54 +00:00
Frank Bertsch 87ca3e10bd Add missing funnel steps to UDF 2021-06-02 11:40:54 -04:00
dependabot[bot] a917ac4b6d
Bump mozilla-schema-generator from 0.3.0 to 0.4.0 (#146)
Bumps [mozilla-schema-generator](https://github.com/mozilla/mozilla-schema-generator) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/mozilla/mozilla-schema-generator/releases)
- [Commits](https://github.com/mozilla/mozilla-schema-generator/commits)

---
updated-dependencies:
- dependency-name: mozilla-schema-generator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 07:36:37 -07:00
dependabot[bot] bc30daa279
Bump urllib3 from 1.26.4 to 1.26.5 (#145)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 10:32:51 -04:00
Frank Bertsch 1a53b788bc Add description to explore 2021-06-01 15:35:11 -04:00
Frank Bertsch 7104acda4c Rename dimensions
- Rename user-day counts to just counts
- Rename event_type_N to just step_N
2021-06-01 15:35:11 -04:00
Frank Bertsch 2ef4fde347 Add descriptions and documentation 2021-06-01 15:35:11 -04:00
Frank Bertsch defcb111bc Fix incorrect query from named table 2021-06-01 15:35:11 -04:00
Frank Bertsch 5c69aca3e1 Add view and explore for event names
- Have explores return many explores
- Only add filters to first explore
2021-06-01 15:35:11 -04:00
Frank Bertsch ab6269e176 Add test for from_dict 2021-06-01 15:35:11 -04:00
Frank Bertsch 26e4348ded Create LookML for explore 2021-06-01 15:35:11 -04:00
Frank Bertsch 1a1e9b1ba0 Remove joined views from funnel_analysis explore 2021-06-01 15:35:11 -04:00
Frank Bertsch 0783b7c46e Get LookML for views
- Fix test cases for namespaces
- Add new file for testing funnels
2021-06-01 15:35:11 -04:00
Frank Bertsch 212ed9d056 Fix comparison for views 2021-06-01 15:35:11 -04:00
Frank Bertsch 17fa1c8fae Add funnel_analysis explore to namespaces 2021-06-01 15:35:11 -04:00
Frank Bertsch d52e2b7464 Add FAV to namespaces 2021-06-01 15:35:11 -04:00
Frank Bertsch ff8ba40adf Add remaining contextual-services tables 2021-06-01 10:45:41 -04:00
William Lachance 3cf955baf6 Abort when any step of the netlify deploy fails
See mozilla/glean-dictionary#639
2021-06-01 10:37:19 -04:00
Frank Bertsch 9be0fe139b Apply review suggestions 2021-05-28 13:33:13 -04:00
Frank Bertsch 980305c919 Apply suggestions from code review
Co-authored-by: William Lachance <wlachance@mozilla.com>
Co-authored-by: Anthony Miyaguchi <amiyaguchi@mozilla.com>
2021-05-28 13:33:13 -04:00
Frank Bertsch e196bd196e Add description of `namespaces.yaml` 2021-05-28 13:33:13 -04:00
Frank Bertsch 5376164781 Include correct connection in model 2021-05-26 18:42:58 -04:00
Frank Bertsch df35085c80 Add context_id as a client identifier 2021-05-26 18:42:58 -04:00
Frank Bertsch c5430cbdba Add contextual services namespace 2021-05-26 18:42:58 -04:00
Frank Bertsch b40830d0e7 Add search namespaces and explores 2021-05-26 15:30:01 -04:00
Frank Bertsch 96e1ac6b5d Issue 126 - Enable non-telemetry connections 2021-05-26 14:14:20 -04:00
Frank Bertsch 4ebc7f1bf3 Remove print stmnts 2021-05-26 09:12:34 -04:00
Frank Bertsch e52469571d Add activity_stream namespace 2021-05-26 09:12:34 -04:00
Frank Bertsch 32fd4cb082 Use view instead of explore name for where clause 2021-05-26 09:12:34 -04:00
Daniel Thorn 421b8b3367
Add transitive google deps for dependabot updates (#130)
workaround for pypa/pip#9644
2021-05-24 14:42:13 -04:00
dependabot[bot] 64c7b8ba66 Bump google-cloud-bigquery from 2.16.1 to 2.17.0
Bumps [google-cloud-bigquery](https://github.com/googleapis/python-bigquery) from 2.16.1 to 2.17.0.
- [Release notes](https://github.com/googleapis/python-bigquery/releases)
- [Changelog](https://github.com/googleapis/python-bigquery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-bigquery/compare/v2.16.1...v2.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 13:40:05 -04:00