Skip to content

Consolidates project #15

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 243 commits into from
Nov 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
243 commits
Select commit Hold shift + click to select a range
92f266a
first commit
tim-mwangi Jul 3, 2020
c9ee1cb
fix: use empty array for image pull secrets
tim-mwangi Jul 6, 2020
01ec463
First commit for the Span normalizer.
Jul 6, 2020
714d894
Run helm dependency before packaging the helm chart.
Jul 7, 2020
03bb1fb
Merge pull request #1 from hypertrace/bugfix/helm_dep_fix
buchi-busireddy Jul 7, 2020
3f92e37
Trying to turn off parallellism for gw publish to see if that fixes
Jul 7, 2020
61c08d1
Merge pull request #2 from hypertrace/cleanup/publish_no_parallel
buchi-busireddy Jul 7, 2020
a7e251d
Merge pull request #1 from hypertrace/fix-imagepullsecrets
tim-mwangi Jul 7, 2020
056e8ef
first commit
tim-mwangi Jul 7, 2020
35c2646
inserting service name into first class field
anujgoyal1 Jul 8, 2020
1714171
list of values for query params
anujgoyal1 Jul 8, 2020
14afc6c
first commit
tim-mwangi Jul 8, 2020
97b7c38
Empty commit to re-trigger build
tim-mwangi Jul 8, 2020
2779c58
Merge pull request #1 from hypertrace/empty-commit
tim-mwangi Jul 8, 2020
b331daa
Merge pull request #1 from hypertrace/mulivaluedQueryParam
anujgoyal1 Jul 8, 2020
46af1d3
Don't explicitly set a partitioner in which case it falls back to Kaf…
surajpuvvada Jul 8, 2020
6c85b44
Don't explicitly set a partitioner in which case it falls back to Kaf…
surajpuvvada Jul 8, 2020
fad6c4f
Merge pull request #4 from hypertrace/use_default_partitioner
buchi-busireddy Jul 8, 2020
2660dcc
Merge pull request #2 from hypertrace/use_default_partitioner
buchi-busireddy Jul 8, 2020
d3440e2
Added test for serviceName verification
anujgoyal1 Jul 9, 2020
042f35c
Added empty service_name check
anujgoyal1 Jul 9, 2020
1f45283
Added test for null servicename
anujgoyal1 Jul 9, 2020
b2396e6
Merge branch 'master' of https://github.com/hypertrace/span-normalize…
anujgoyal1 Jul 9, 2020
30e1e0d
removing unused dependency
anujgoyal1 Jul 10, 2020
e6906f1
Merge pull request #3 from hypertrace/firstClassSerivceName
buchi-busireddy Jul 10, 2020
45888ed
Updates to community license
kotharironak Jul 12, 2020
7609053
Custom method to parse query param values
anujgoyal1 Jul 12, 2020
f7e844b
renamed variable
anujgoyal1 Jul 12, 2020
c28a492
remaming variables
anujgoyal1 Jul 12, 2020
f860b8a
removed typo
anujgoyal1 Jul 12, 2020
6a627b8
Merge pull request #2 from hypertrace/updates-to-community-license
buchi-busireddy Jul 12, 2020
0725392
modified the parsing and added tests
anujgoyal1 Jul 12, 2020
4842ab1
chore: update to Apache 2.0 License
tim-mwangi Jul 13, 2020
85166af
chore: update to Apache 2.0 License
tim-mwangi Jul 13, 2020
88b5f3a
Merge branch 'master' into querySplitting
anujgoyal1 Jul 13, 2020
6b1ebcf
Merge pull request #3 from hypertrace/querySplitting
skjindal93 Jul 13, 2020
ef0fa2c
Merge pull request #3 from hypertrace/update-license
tim-mwangi Jul 13, 2020
b30ae37
Merge pull request #5 from hypertrace/update-license
buchi-busireddy Jul 13, 2020
a05d4aa
chore: update to Community License
tim-mwangi Jul 13, 2020
23599c3
Remove accidentally added log file
tim-mwangi Jul 13, 2020
8443b0a
Merge pull request #2 from hypertrace/update-license
tim-mwangi Jul 13, 2020
097c1ec
fix: missing useJunitPlatform() in build.gradle.kts.
tim-mwangi Jul 14, 2020
db3dd46
using the first class service name field
anujgoyal1 Jul 14, 2020
3bae452
Merge pull request #6 from hypertrace/fix-junit
tim-mwangi Jul 14, 2020
333d092
renaming variables
anujgoyal1 Jul 15, 2020
17ea7f2
Adderessed code reviews
anujgoyal1 Jul 15, 2020
6ba196e
code reviews
anujgoyal1 Jul 15, 2020
8b07f65
Merge pull request #4 from hypertrace/removeJaegerServiceName
skjindal93 Jul 15, 2020
87c863a
fix: update dependencies to remove kafka topic creation
tim-mwangi Jul 15, 2020
d36f5a0
Merge pull request #3 from hypertrace/update-dependencies
tim-mwangi Jul 15, 2020
7e25eac
Fix formatting of build file for consistency
anuraaga Jul 16, 2020
3e65c12
Merge pull request #7 from anuraaga/patch-3
buchi-busireddy Jul 17, 2020
238dd98
Upgrading the entity-service client to latest version.
Jul 17, 2020
1750ccf
Merge pull request #5 from hypertrace/feature/upgrade_eds_client
buchi-busireddy Jul 17, 2020
302559b
Hadling invalid query param inputs
anujgoyal1 Jul 19, 2020
977ad25
Merge pull request #6 from hypertrace/handleInvalidInput
skjindal93 Jul 19, 2020
e1b34c1
templatize flink parallelism and kafka producer configurations
ravisingal Jul 20, 2020
50b9541
make flink parallellism optional
ravisingal Jul 21, 2020
4765602
update view creator job configuration
rleiwang-traceableai Jul 21, 2020
446a715
Merge pull request #4 from hypertrace/kafka-producer-config
buchi-busireddy Jul 22, 2020
5f789a0
fix: only set parallelism if it's defined in the config
tim-mwangi Jul 22, 2020
3411e74
Just assert > 0
tim-mwangi Jul 22, 2020
0c23078
add weight in Kube job to maintain exec order
rleiwang-traceableai Jul 23, 2020
cd9f62f
Merge pull request #5 from hypertrace/parallelism
avinashkolluru Jul 23, 2020
37140f6
Merge pull request #4 from hypertrace/retention
tim-mwangi Jul 23, 2020
8b5a35a
Added neccessary dependency
anujgoyal1 Jul 26, 2020
0c58f62
upgraded dependency
anujgoyal1 Jul 27, 2020
6203777
upgraded dependency
anujgoyal1 Jul 27, 2020
dcba8f5
Upgrading dependency
anujgoyal1 Jul 27, 2020
321ef72
Merge pull request #5 from hypertrace/upgradeDependency
tim-mwangi Jul 27, 2020
511ab86
suppresing the synk vulnerability
anujgoyal1 Jul 27, 2020
af8570b
ignoring synk
anujgoyal1 Jul 27, 2020
212d876
Added another missing enricher dependency
anujgoyal1 Jul 27, 2020
b53b535
Merge pull request #6 from hypertrace/upgradeDependency
buchi-busireddy Jul 27, 2020
6770947
Merge pull request #7 from hypertrace/enricherDependency
buchi-busireddy Jul 27, 2020
cee317d
Merge branch 'master' into upgradeDependency
buchi-busireddy Jul 27, 2020
75cc1f4
Merge pull request #8 from hypertrace/upgradeDependency
buchi-busireddy Jul 27, 2020
d005094
chore: upgrade docker plugin
laxmanchekka Jul 30, 2020
fea1051
chore: upgrade docker plugin
laxmanchekka Jul 30, 2020
38232fb
chore: upgrade docker plugin
laxmanchekka Jul 30, 2020
6f9acd4
chore: upgrade docker plugin
laxmanchekka Jul 30, 2020
2b097a7
Merge pull request #7 from hypertrace/docker-plugin-upgrade
avinashkolluru Jul 30, 2020
2bdbfcd
Merge pull request #9 from hypertrace/docker-plugin-upgrade
avinashkolluru Jul 30, 2020
9ad0a9c
Merge pull request #6 from hypertrace/docker-plugin-upgrade
avinashkolluru Jul 30, 2020
633cf74
fix: snyk build failure
laxmanchekka Jul 30, 2020
914e609
Merge pull request #8 from hypertrace/docker-plugin-upgrade
avinashkolluru Jul 30, 2020
6740dc1
ci: update docker plugin version
aaron-steinfeld Jul 31, 2020
646f3bc
ci: update docker plugin version
aaron-steinfeld Jul 31, 2020
c202e93
ci: update docker plugin version
aaron-steinfeld Jul 31, 2020
4519002
ci: update docker plugin version
aaron-steinfeld Jul 31, 2020
9ca669c
ci: push out snyk ignore expirations
aaron-steinfeld Jul 31, 2020
470ef85
Merge pull request #8 from hypertrace/update-docker-plugin-version
aaron-steinfeld Jul 31, 2020
18e1777
Handle the HTTPS protocol also while resolving HTTP backends.
Aug 4, 2020
e6df4bf
Adding HTTPS BackendType so that we can distinguish
Aug 5, 2020
74c7410
Merge pull request #11 from hypertrace/feature/handle_https
buchi-busireddy Aug 5, 2020
c596ed8
expose schema reigstry and broker property as env
kotharironak Aug 7, 2020
b1cc823
provides a way to override the mongo_host via an environment variable
kotharironak Aug 7, 2020
11e5057
prefixing env vars with underlying component like kafka, zk, etc
kotharironak Aug 7, 2020
914abc2
Addressed Ravi's comments of prefixing with underlying component
kotharironak Aug 7, 2020
79e39f9
Going back to ENV base approach for default tenant id
kotharironak Aug 8, 2020
e11687f
made consistent kafka broker env vars
kotharironak Aug 8, 2020
86413cc
exposing common host related config as envs
kotharironak Aug 10, 2020
f4510bf
Merge pull request #10 from hypertrace/expose-config-as-env
kotharironak Aug 10, 2020
e7bfba0
provides a way to overrride common properties via envs
kotharironak Aug 10, 2020
3740788
exposing source and sink topic too as envs
kotharironak Aug 10, 2020
0f5a974
Merge pull request #12 from hypertrace/expose-common-properties-as-envs
kotharironak Aug 10, 2020
f9fa1f2
Merge pull request #7 from hypertrace/update-docker-plugin-version
aaron-steinfeld Aug 10, 2020
822dd18
Merge branch 'master' into update-docker-plugin-version
aaron-steinfeld Aug 10, 2020
600ba7c
Merge branch 'master' into update-docker-plugin-version
aaron-steinfeld Aug 10, 2020
499525e
Merge pull request #10 from hypertrace/update-docker-plugin-version
aaron-steinfeld Aug 10, 2020
b76036e
Merge pull request #9 from hypertrace/update-docker-plugin-version
aaron-steinfeld Aug 10, 2020
8f52c9e
Merge branch 'master' into exposing-config
kotharironak Aug 10, 2020
b906554
Merge pull request #8 from hypertrace/exposing-config
kotharironak Aug 10, 2020
34367dc
Merge pull request #9 from hypertrace/expose-common-host-configs-as-envs
kotharironak Aug 11, 2020
7aa3d65
avoids name clashes between kube envs vs app envs
kotharironak Aug 11, 2020
fa37730
Merge pull request #13 from hypertrace/fix-env-conflicts
kotharironak Aug 11, 2020
5fd51ed
chore: upgrade docker plugin
aaron-steinfeld Aug 11, 2020
faf10ff
chore: upgrade docker plugin
aaron-steinfeld Aug 11, 2020
f453858
chore: upgrade docker plugin
aaron-steinfeld Aug 11, 2020
c2a04e2
chore: upgrade docker plugin
aaron-steinfeld Aug 11, 2020
ccbe57e
Merge pull request #14 from hypertrace/upgrade-docker-plugin
aaron-steinfeld Aug 11, 2020
2da24d8
Merge pull request #10 from hypertrace/upgrade-docker-plugin
aaron-steinfeld Aug 11, 2020
3a304d9
Merge pull request #11 from hypertrace/upgrade-docker-plugin
aaron-steinfeld Aug 12, 2020
2a495b0
Merge pull request #9 from hypertrace/upgrade-docker-plugin
aaron-steinfeld Aug 12, 2020
7960d03
bumping up version of view framework
kotharironak Aug 12, 2020
4c4cecf
Merge pull request #10 from hypertrace/fix-for-retry-exit
buchi-busireddy Aug 12, 2020
8661c9a
Using the latest metrics library and reporting per-tenant span normal…
Aug 12, 2020
e728564
Adding unit tests and using the latest platform-metrics library.
Aug 13, 2020
b037d96
Code cleanup.
Aug 13, 2020
a2216be
Version upgrade to fix snyk errors.
Aug 13, 2020
37dcd7c
Merge pull request #12 from hypertrace/feature/report_per_tenant_metrics
buchi-busireddy Aug 13, 2020
72122bd
Upgrading to the newer version of metrics library to fix the service …
Aug 14, 2020
4492f59
Merge pull request #13 from hypertrace/bugfix/config_parsing_fix
buchi-busireddy Aug 14, 2020
d4b59e6
Locks Java to 11
Aug 17, 2020
afd7205
Locks Java to 11 (#11)
adriancole Aug 18, 2020
5565c28
Locks Java to 11 (#11)
adriancole Aug 18, 2020
6b91f68
Locks Java to 11 (#16)
adriancole Aug 18, 2020
025ae85
Moves to new docker plugin which corrects port defaults and health ch…
adriancole Aug 18, 2020
33a562d
Merge pull request #14 from hypertrace/lock-source
adriancole Aug 18, 2020
211456d
Moves to new docker plugin which corrects port defaults and health ch…
adriancole Aug 18, 2020
bf9c4b2
Moves to new docker plugin which corrects port defaults and health ch…
adriancole Aug 18, 2020
2657f32
updates README (#14)
JBAhire Aug 18, 2020
a0867fe
Update README.md (#19)
JBAhire Aug 18, 2020
1638530
Add creation timestamp to traces based on sampling percent (#13)
samarth-gupta-traceable Aug 18, 2020
2402308
Enrichment arrival lag metric (#18)
samarth-gupta-traceable Aug 18, 2020
e4f12d8
view gen arrival lag metric (#14)
samarth-gupta-traceable Aug 18, 2020
aae428d
Moves to new docker plugin which corrects port defaults and health ch…
adriancole Aug 19, 2020
aec00f5
Adds one-line description of images produced by this build (#13)
JBAhire Aug 19, 2020
5d270b0
Report span grouper lag and record trace creation time (#15)
samarth-gupta-traceable Aug 20, 2020
598a0f6
Update data model and declare ENRICHMENT_ARRIVAL_TIME (#20)
samarth-gupta-traceable Aug 20, 2020
9c79e3c
update dependencies (#15)
samarth-gupta-traceable Aug 20, 2020
f9c0d77
update view gen framework version (#16)
samarth-gupta-traceable Aug 20, 2020
7aa4946
update view-generator-framework version (#17)
samarth-gupta-traceable Aug 20, 2020
dc21065
chore: switch from master to main
aaron-steinfeld Aug 23, 2020
b9c90cc
chore: switch from master to main
aaron-steinfeld Aug 23, 2020
ac18f17
chore: switch from master to main
aaron-steinfeld Aug 23, 2020
3b78b14
chore: switch from master to main
aaron-steinfeld Aug 23, 2020
061d2e0
Disable slf4j metrics reporter (#16)
ravisingal Aug 28, 2020
947d0a6
fix: add pod annotations to helm values (#17)
tim-mwangi Aug 30, 2020
5fe7d2a
fix: add pod annotations to helm values (#16)
tim-mwangi Aug 30, 2020
9c8d245
adds arch diagram, list of enrichers and explains use-case with examp…
JBAhire Sep 3, 2020
efe8388
adds ingestion arch and explain working of span-normalizer (#20)
JBAhire Sep 4, 2020
6cd7ee2
adds ingestion arch and explain working of raw-spans-grouper (#18)
JBAhire Sep 4, 2020
9a8b864
updates to newer clients which cache miss hit logs (#25)
kotharironak Sep 9, 2020
4186995
fix: log a deserializable raw span (#21)
tim-mwangi Sep 9, 2020
87c8d20
fix: stop using StructuredTraceBuilder in ApiTraceGraph (#24)
tim-mwangi Sep 9, 2020
d6c64ea
fix: update trace enricher api to patch the empty event id in event r…
tim-mwangi Sep 9, 2020
364a512
adds testing section and rearranges sections as per suggestions (#20)
JBAhire Sep 11, 2020
f8a3cb9
adds testing section and rearranges sections as per suggestions (#27)
JBAhire Sep 11, 2020
cb29cfe
adds description, ingestion architecture and testing steps in README …
JBAhire Sep 11, 2020
82dcfdc
adds testing section and rearranges sections as per suggestions (#23)
JBAhire Sep 11, 2020
cb81c2b
Host header enrichment should look at x-forwarded headers when host h…
buchi-busireddy Sep 14, 2020
e4841cb
Migrate to kafka streams (#18)
surajpuvvada Sep 15, 2020
e61d7f8
Kafka streams cofig fix (#25)
laxmanchekka Sep 15, 2020
ab050d2
fix: update data model version (#23)
tim-mwangi Sep 15, 2020
211069a
fix: update data-model version (#32)
tim-mwangi Sep 15, 2020
89b8e6b
fix(UserAgentSpanEnricher): use first class user agent attributes (#29)
skjindal93 Sep 15, 2020
4645af7
fix: update data model and ht trace enricher api versions (#22)
tim-mwangi Sep 15, 2020
ddc9c4d
update pinot broker and server default tags (#23)
ravisingal Sep 16, 2020
0cbc0d7
fix: stop logging full span in api trace graph (#33)
tim-mwangi Sep 16, 2020
d085591
fix: remove one more noisy log (#34)
tim-mwangi Sep 21, 2020
a2bb711
Fixed tests to use AvroSerDe without schema registry (#26)
laxmanchekka Sep 23, 2020
49f9637
Migrate ht-trace-enricher to kafka streams (#23)
surajpuvvada Sep 23, 2020
67be2da
Raw spans grouper using kafka streams (#17)
surajpuvvada Sep 24, 2020
966eef6
make num.stream.threads, replication.factor configurable
surajpuvvada Sep 24, 2020
db5ce55
Use kafka-streams-framework (#20)
surajpuvvada Sep 25, 2020
3802445
temporarily disable restorePunctuators until we identify why there ar…
surajpuvvada Sep 25, 2020
fd87236
chore: update configs to provide new required settings (#24)
aaron-steinfeld Sep 25, 2020
6624a4a
updating view-generator-framework to latest version (#25)
kotharironak Sep 30, 2020
ea1aa32
include tenant_id in key when producing to output (#27)
surajpuvvada Oct 1, 2020
e817ba3
Use TraceIdentity as key for state stores (#26)
surajpuvvada Oct 5, 2020
0a66ef1
templatize kafka streams configurations for large messages (#28)
ravisingal Oct 8, 2020
9b83081
Add RpcFieldsGenerator for parsing rpc.* tags (#28)
mohit-a21 Oct 8, 2020
49e1887
Updated data models to latest (#29)
mohit-a21 Oct 8, 2020
435d21c
Use named fields for enriching grpc info (#36)
mohit-a21 Oct 8, 2020
ce48def
Bugfix in JDBC backend resolver to parse URLs without failure. (#37)
buchi-busireddy Oct 12, 2020
bda5c89
Update data models to latest (#26)
mohit-a21 Oct 12, 2020
aa5a7e0
chore: update service and view framework dependencies (#27)
tim-mwangi Oct 12, 2020
11f99f9
chore: update dependencies to fix snyk issue (#38)
tim-mwangi Oct 13, 2020
769f31e
Span counter metric (#29)
samarth-gupta-traceable Oct 14, 2020
91fe397
Recv/Sent prefix doesn't guarantee protocol GRPC (#39)
mohit-a21 Oct 14, 2020
4de6fbd
fix: convert list type attributes as well (#40)
tim-mwangi Oct 16, 2020
2c5cf33
Add prometheus jmx exporter for exporting kafka-streams metrics (#30)
ravisingal Oct 20, 2020
efd3d6c
add pod annotations to deployment (#30)
ravisingal Oct 21, 2020
a819a7f
parameterizing stream configs - numStandbyReplicas and replication fa…
kotharironak Oct 23, 2020
5e14bbf
Publish span-normalizer-constants (#31)
mohit-a21 Oct 27, 2020
78da9a5
Upgrading grpc netty version to fix snyk build failure (#32)
mohit-a21 Oct 27, 2020
143d923
ci: add dockerhub auth (#43)
ravisingal Oct 29, 2020
4eb452f
ci: add dockerhub auth (#29)
ravisingal Oct 29, 2020
0186d86
ci: add dockerhub auth (#32)
ravisingal Oct 29, 2020
87a9521
ci: add dockerhub auth (#34)
ravisingal Oct 30, 2020
41ed0ff
Handle relative URLs to extract out path and query string (#33)
GurtejSohi Nov 2, 2020
a42c81f
chore: update vulnerable dependencies and gradle (#44)
aaron-steinfeld Nov 3, 2020
b5e7740
feat: add trace reader (#21)
aaron-steinfeld Nov 3, 2020
f3cd011
Upgrade data-model to fix snyk-build (#34)
laxmanchekka Nov 4, 2020
599bda4
chore: adds PR template (#30)
JBAhire Nov 6, 2020
8749328
updating version of grpc to address no-class-found issue (#46)
kotharironak Nov 6, 2020
91667bf
Add field generator for 'http.host' tag (#39)
GurtejSohi Nov 7, 2020
02b18e6
Add rpc.body.decode_raw tag for identifying decoded rpc bodies (#40)
mohit-a21 Nov 8, 2020
8923c4b
Removed submodule span-normalizer per #8
kotharironak Nov 9, 2020
99733bd
Add 'span-normalizer/' from commit '02b18e6e7b0612b6ee5c0de2700ea3628…
kotharironak Nov 9, 2020
8f34f87
Removed submodule raw-spans-grouper per #8
kotharironak Nov 9, 2020
07cf6c0
Add 'raw-spans-grouper/' from commit 'f3cd01180bc7980e7d2cb89d6ae4e1b…
kotharironak Nov 9, 2020
1b77060
Removed submodule hypertrace-trace-enricher per #8
kotharironak Nov 9, 2020
f905e82
Add 'hypertrace-trace-enricher/' from commit '87493286f30776bbbcb316b…
kotharironak Nov 9, 2020
f9df676
Removed submodule hypertrace-view-generator per #8
kotharironak Nov 9, 2020
2a2671e
Add 'hypertrace-view-generator/' from commit '599bda48c241b16c5d6eb4e…
kotharironak Nov 9, 2020
dc9b816
merged subtree branch here
kotharironak Nov 8, 2020
b29f4a5
consolidates ingester pipeline as macrorepo
kotharironak Oct 31, 2020
676bfc4
removes redundant publish
Nov 2, 2020
27532a6
Update .circleci/helm.sh
adriancole Nov 2, 2020
471d534
fixed the groups for each project and deps via project deps
kotharironak Nov 8, 2020
4dd0f24
fixing helm.sh not found using absolute path
kotharironak Nov 8, 2020
f8d6783
tried with just working directory url
kotharironak Nov 8, 2020
7416b41
trying with bin/sh and working_directory construct
kotharironak Nov 8, 2020
ae6fb0f
trying with bash script
kotharironak Nov 8, 2020
d205fb1
fixing alpine linux sh issue
kotharironak Nov 8, 2020
c092cae
removing un-supported -o option
kotharironak Nov 8, 2020
10f0e48
fixed the bad substitution issue in helm.sh script
kotharironak Nov 8, 2020
74523ca
updates snyk expiry dates
kotharironak Nov 8, 2020
707b234
adds contrains on guava library suggested by snyk
kotharironak Nov 8, 2020
910941c
update workflow to trigger release based on release tag
kotharironak Nov 8, 2020
2144caa
fixed circleci config issue
kotharironak Nov 8, 2020
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
78 changes: 46 additions & 32 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,10 @@ commands:
name: << parameters.args >>
command: ./gradlew << parameters.args >> --info --max-workers=2 -Dorg.gradle.jvmargs=-Xmx2g -Dorg.gradle.console=plain --continue
when: << parameters.when >>
update-submodule:
description: 'Pull Submodules'
steps:
- run:
name: Pull Submodules
command: git submodule update --init --recursive
- run:
name: Ensure submodules point to commit from main branch
command: git submodule foreach "git merge-base --is-ancestor HEAD origin/main"
setup_build_environment:
description: 'Generates cache key from a hash of all gradle files'
steps:
- checkout
- update-submodule
- run:
name: Generate cache key
command: find . -type f -name "*.gradle*" -o -name "gradle-wrapper*" -exec shasum {} + | sort > /tmp/checksum.txt && cat /tmp/checksum.txt
Expand Down Expand Up @@ -85,29 +75,31 @@ jobs:
args: jacocoTestReport
- codecov/upload:
flags: unit
publish:
merge-publish:
executor: gradle_docker
steps:
- setup_build_environment
- setup_remote_docker: *latest_remote_docker
- docker_login
- gradle:
args: :tag -Prelease
- add_ssh_keys:
fingerprints:
- '76:7a:c8:91:c0:cd:eb:71:96:3c:44:c6:cf:b0:26:83'
- run: git push origin $(./gradlew -q :printVersion)
args: dockerPushImages
release-publish:
executor: gradle_docker
steps:
- setup_build_environment
- setup_remote_docker: *latest_remote_docker
- docker_login
- gradle:
args: dockerPushImages
validate-charts:
executor: helm
working_directory: ~/repo
steps:
- checkout
- run:
name: Helm Charts Lint and Template Render
command: |
helm lint --strict ./helm/
helm template ./helm/
.circleci/helm.sh validate
snyk-scan:
executor:
name: gradle_docker
Expand All @@ -117,21 +109,33 @@ jobs:
- setup_build_environment
- snyk/scan:
additional-arguments: --all-sub-projects --policy-path=.snyk
package-charts:
release-charts:
executor: helm
working_directory: ~/repo
steps:
- checkout
- run:
name: Add release tag
command: |
git config --global user.email "${CIRCLE_USERNAME}@hypertrace.org"
git config --global user.name "$CIRCLE_USERNAME"
git tag -am "Released by $CIRCLE_USERNAME" $(git describe --abbrev=0 --tags | sed 's/^release-//')
- run:
name: Remove trigger tag
command: git tag -d release-$(git describe --abbrev=0)
- run:
name: Package and Publish Helm Charts
# Read the "name:" from Chart.yaml. The chart version is <chart-name>-<semver git tag>
command: |
CHART_VERSION=$(git describe --abbrev=0)
CHART_NAME=$(awk '/^name:/ {print $2}' ./helm/Chart.yaml)
export GOOGLE_APPLICATION_CREDENTIALS=${HOME}/helm-gcs-key.json
echo ${HELM_GCS_CREDENTIALS} > ${GOOGLE_APPLICATION_CREDENTIALS}
helm repo add helm-gcs ${HELM_GCS_REPOSITORY}
helm package --version ${CHART_VERSION} --app-version ${CHART_VERSION} ./helm/
helm gcs push ${CHART_NAME}-${CHART_VERSION}.tgz helm-gcs --public --retry

.circleci/helm.sh package
.circleci/helm.sh publish
- add_ssh_keys:
fingerprints:
# This ssh key gives write permission needed for the following step.
- '76:7a:c8:91:c0:cd:eb:71:96:3c:44:c6:cf:b0:26:83'
- run:
name: Update remote tags
command: git push origin refs/tags/$(git describe --abbrev=0) :refs/tags/release-$(git describe --abbrev=0)
workflows:
version: 2
build-and-publish:
Expand All @@ -146,7 +150,7 @@ workflows:
context:
- hypertrace-vulnerability-scanning
- dockerhub-read
- publish:
- merge-publish:
context:
- hypertrace-publishing
- dockerhub-read
Expand All @@ -158,13 +162,23 @@ workflows:
branches:
only:
- main
- package-charts:
- release-publish:
context:
- hypertrace-publishing
- dockerhub-read
filters:
branches:
ignore: /.*/
tags:
only: /^release-.*/
- release-charts:
context:
- hypertrace-publishing
- dockerhub-read
requires:
- publish
- release-publish
filters:
branches:
only:
- main
ignore: /.*/
tags:
only: /^release-.*/
53 changes: 53 additions & 0 deletions .circleci/helm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/bin/sh
set -eu

script=$0

SCRIPT_DIR="$( cd "$( dirname "$script" )" >/dev/null 2>&1 && pwd )"
ROOT_PROJECT_DIR="$(dirname "${SCRIPT_DIR}")"
cd $ROOT_PROJECT_DIR
SUB_PROJECTS_DIRS=$(find . -iname "helm" | sed 's/\(.*\)\/.*/\1/')

subcommand=$1; shift
case "$subcommand" in
validate)
for SUB_PROJ_DIR in $SUB_PROJECTS_DIRS; do
cd $SUB_PROJ_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to cd the $SUB_PROJ_DIR, can't we just run

helm dependency update $SUB_PROJ_DIR/helm/
helm lint --strict $SUB_PROJ_DIR/helm/
helm template $SUB_PROJ_DIR/helm/ --output-dir $SUB_PROJ_DIR/helm/

echo "*******"
echo "Validating charts for dir \"$(pwd)\""
helm dependency update ./helm/
helm lint --strict ./helm/
helm template ./helm/
cd $ROOT_PROJECT_DIR
done
;;
package)
CHART_VERSION=$(git describe --abbrev=0)
for SUB_PROJ_DIR in $SUB_PROJECTS_DIRS; do
cd $SUB_PROJ_DIR
echo "*******"
echo "building charts for:$(pwd)"
CHART_NAME=$(awk '/^name:/ {print $2}' ./helm/Chart.yaml)
helm dependency update ./helm/
helm package --version ${CHART_VERSION} --app-version ${CHART_VERSION} ./helm/
cd $ROOT_PROJECT_DIR
done
;;
publish)
CHART_VERSION=$(git describe --abbrev=0)
export GOOGLE_APPLICATION_CREDENTIALS=${HOME}/helm-gcs-key.json
echo ${HELM_GCS_CREDENTIALS} > ${GOOGLE_APPLICATION_CREDENTIALS}
helm repo add helm-gcs ${HELM_GCS_REPOSITORY}
for SUB_PROJ_DIR in $SUB_PROJECTS_DIRS; do
cd $SUB_PROJ_DIR
echo "*******"
echo "publishing charts for:$(pwd)"
helm gcs push ${CHART_NAME}-${CHART_VERSION}.tgz helm-gcs --public --retry
cd $ROOT_PROJECT_DIR
done
;;
*)
echo "[ERROR] Unknown command: ${subcommand}"
echo "usage: $script {validate|package}"
;;
esac
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://help.github.com/articles/about-codeowners/
# Each line is a file pattern followed by one or more owners.

# global
* @hypertrace/trace-pipeline-owners
16 changes: 0 additions & 16 deletions .gitmodules

This file was deleted.

34 changes: 32 additions & 2 deletions .snyk
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore: {}
patch: {}
ignore:
## from hypertrace-trace-enricher and span-normalizer
SNYK-JAVA-IOGRPC-571957:
- '*':
reason: No replacement available
expires: 2020-12-31T00:00:00.000Z
## from hypertrace-view-generator
SNYK-JAVA-COMMONSHTTPCLIENT-30083:
- '*':
reason: no available replacement
expires: 2020-12-31T00:00:00.000Z
SNYK-JAVA-COMMONSHTTPCLIENT-31660:
- '*':
reason: no available replacement
expires: 2020-12-31T00:00:00.000Z
SNYK-JAVA-IONETTY-473694:
- '*':
reason: no available replacement
expires: 2020-12-31T00:00:00.000Z
SNYK-JAVA-LOG4J-572732:
- '*':
reason: no available replacement
expires: 2020-12-31T00:00:00.000Z
SNYK-JAVA-ORGAPACHECOMMONS-559327:
- '*':
reason: no available replacement
expires: 2020-12-31T00:00:00.000Z
SNYK-JAVA-ORGCODEHAUSJACKSON-534878:
- '*':
reason: no available replacement
expires: 2020-12-31T00:00:00.000Z
patch: {}
11 changes: 11 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
build:
roots:
- hypertrace-trace-enricher/enriched-span-constants/src/main/proto
- span-normalizer/raw-span-constants/src/main/proto
lint:
use:
- DEFAULT
breaking:
use:
- PACKAGE
- WIRE_JSON
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@ plugins {
id("org.hypertrace.docker-java-application-plugin") version "0.7.1" apply false
id("org.hypertrace.docker-publish-plugin") version "0.7.1" apply false
id("org.hypertrace.jacoco-report-plugin") version "0.1.1" apply false
id("org.hypertrace.publish-plugin") version "0.3.3" apply false
id("org.hypertrace.avro-plugin") version "0.2.4" apply false
}

subprojects {
group = "org.hypertrace.ingester"

pluginManager.withPlugin("org.hypertrace.publish-plugin") {
configure<org.hypertrace.gradle.publishing.HypertracePublishExtension> {
license.set(org.hypertrace.gradle.publishing.License.TRACEABLE_COMMUNITY)
}
}

pluginManager.withPlugin("java") {
configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_11
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ org.gradle.parallel=true
org.gradle.daemon=true
org.gradle.caching=true
org.gradle.configureondemand=true

14 changes: 9 additions & 5 deletions hypertrace-ingester/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ plugins {
id("org.hypertrace.jacoco-report-plugin")
}

subprojects {
group = "org.hypertrace.ingester"
}

application {
mainClassName = "org.hypertrace.core.serviceframework.PlatformServiceLauncher"
}
Expand All @@ -25,12 +29,12 @@ dependencies {
implementation("org.hypertrace.core.serviceframework:platform-service-framework:0.1.9")
implementation("org.hypertrace.core.serviceframework:platform-metrics:0.1.8")
implementation("org.hypertrace.core.datamodel:data-model:0.1.9")

implementation("org.hypertrace.core.spannormalizer:span-normalizer")
implementation("org.hypertrace.core.rawspansgrouper:raw-spans-grouper")
implementation("org.hypertrace.traceenricher:hypertrace-trace-enricher")
implementation("org.hypertrace.viewgenerator:hypertrace-view-generator")
implementation("org.hypertrace.core.viewgenerator:view-generator-framework:0.1.14")

implementation(project(":span-normalizer:span-normalizer"))
implementation(project(":raw-spans-grouper:raw-spans-grouper"))
implementation(project(":hypertrace-trace-enricher:hypertrace-trace-enricher"))
implementation(project(":hypertrace-view-generator:hypertrace-view-generator"))
}

// Config for gw run to be able to run this locally. Just execute gw run here on Intellij or on the console.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion hypertrace-trace-enricher
Submodule hypertrace-trace-enricher deleted from 874932
3 changes: 3 additions & 0 deletions hypertrace-trace-enricher/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
subprojects {
group = "org.hypertrace.traceenricher"
}
Loading